Article View: news.software.nntp
Article #80050Re: Diablo, Linux, and Performance
From: awesie
Date: Tue, 20 Jan 2009 04:53
Date: Tue, 20 Jan 2009 04:53
72 lines
4375 bytes
4375 bytes
On Jan 19, 10:05 am, Francois Petillon <fa...@fanfan.staff.proxad.net> wrote: > On Sun, 18 Jan 2009 01:38:53 -0800, awesie wrote: > > We get a partial feed from a couple of peers (~200 Mb/s) and the machine > > is reporting only 20% C PU idle and 60% CPU wait. > > This tells me that there is a IO issue and I was wondering what I should > > investigate first. > > Yes but you should try to find out which device is slowing you down. > Use iostat (do something like 'iostat -x 2') to get extended stat for > each device (each 2 seconds). > > As you only have 2 GB on this server, the history file do not probably fit > into memory and the server may do many disks requests for history access. > This seems to be a major issue during dexpire, but not as much of an issue under just normal load. > > Partitions: > > Root (jfs) hardware RAID 1 over two 73GB 10K disks /news (jfs) hardware > > RAID 1 over two 73GB 10K disks One spool (jfs, noatime) of ~900GB on an > > external RAID array (JetStor III, RAID 6 over 16x 73GB) > > > Would it be better to split the spool into smaller spools? > > What is your problem ? Spool size or disk load ? If you need space, then > RAID1/RAID6 may be a good solution but that kind of RAID does stripping > which increase disks seeks, decrease block size requests and thus decrease > disk performances. > > If you do not care to loose articles on this server (typically if you have > redundant servers) and need space, you may stop doing RAID on the spool > and use directly the disks. If you want to avoid data loss, you may use > several RAID1 spool (which would increase write load are they are > dupplicated, would avoid stripping issue and would nearly half your spool > size). > I went with the RAID1 solution. 8 RAID1s of 73GB each. This seems to make linux happier as well as it can spread disk io across the logical drives, instead of only seeing one drive. > > Is jfs a poor file system choice for this? > > If you have a big spool, journalized FS may help you after a crash (no > fsck) but it increase write load (as you have the journal to write). If > you have several smaller spools (where you can run several quicker fsck), > you can use ext2. > Ext2 seemed to help a bit, though not as much as just splitting the disks helped. I also found that using the deadline io scheduler is almost a necessity, and turning off "write-behind" on both the external RAID array and the Dell RAID card helps a lot. I am also planning on trying FreeBSD to see if that gives better performance. I've seen reports that Linux > 2.4.31 has performance issues with our RAID card (PERC 4/DC), so it is worth a try. > François -- Andrew Wesie
Technical Details
Message-ID:
<7b92ffee-c241-4b9d-a3e6-c494435f774a@v13g2000vbb.googlegroups.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder4.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!v13g2000vbb.googlegroups.com!not-for-mailReferences:
<ba65cbe7-5939-4db9-aa00-eb0447265c31@q19g2000yqi.googlegroups.com> <497496d1$0$31455$426a34cc@news.free.fr>Show Full Headers
Complete Article Headers
Message-ID: <7b92ffee-c241-4b9d-a3e6-c494435f774a@v13g2000vbb.googlegroups.com> Subject: Re: Diablo, Linux, and Performance Date: Tue, 20 Jan 2009 04:53:00 +0000 From: awesie@gmail.com References: <ba65cbe7-5939-4db9-aa00-eb0447265c31@q19g2000yqi.googlegroups.com> <497496d1$0$31455$426a34cc@news.free.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder4.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!v13g2000vbb.googlegroups.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 72 NNTP-Posting-Host: 128.2.158.179 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1232427180 29193 127.0.0.1 (20 Jan 2009 04:53:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Jan 2009 04:53:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v13g2000vbb.googlegroups.com; posting-host=128.2.158.179; posting-account=NQdShgoAAAAh6f1BZ8cjHzne3R9ozoJ- User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2,gzip(gfe),gzip(gfe)