Thread View: news.software.nntp
6 messages
6 total messages
Started by awesie
Sun, 18 Jan 2009 09:38
Diablo, Linux, and Performance
Author: awesie
Date: Sun, 18 Jan 2009 09:38
Date: Sun, 18 Jan 2009 09:38
29 lines
2317 bytes
2317 bytes
I run a small usenet operation and I am starting to worry about the possible performance of our server. We get a partial feed from a couple of peers (~200 Mb/s) and the machine is reporting only 20% CPU idle and 60% CPU wait. This tells me that there is a IO issue and I was wondering what I should investigate first. According to top, most of the processes in io wait are dnewslink, sometimes an occasional diablo process, wchan is usually sync_page. The setup: Dell PE2650, 2x 3.2Ghz Intel Xeon, 2.0 GB ram Debian/Etch Linux 2.6.18 Diablo 5.1-REL 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? Is jfs a poor file system choice for this? Any thoughts would be appreciated. -- Andrew Wesie
Re: Diablo, Linux, and Performance
Author: Robert
Date: Sun, 18 Jan 2009 12:43
Date: Sun, 18 Jan 2009 12:43
21 lines
1735 bytes
1735 bytes
Hi, > Is jfs a poor file system choice for this? I have no first hand experience with jfs, but the j means journaling. A former employer insisted on using specfic hardware for a binary newstransit box running redhat linux 2.4.x on some blade thingie with horrible hardware performance. That box ran ext3. After remounting the spool with data=writeback at least the box didn't randomly freeze at the hourly expires. After changing to ext2 and recompiling the kernel without any ext3 code performance was somewhat acceptable. In my experience, journaling will degrade performace on diablo boxes. And if you think you need journaling so the system recovers more quickly after some crash, consider another transit box and load-ballance. Hth. Robert
Re: Diablo, Linux, and Performance
Author: Jeffrey M. Vinocur
Date: Sun, 18 Jan 2009 21:01
Date: Sun, 18 Jan 2009 21:01
28 lines
2118 bytes
2118 bytes
In article <ba65cbe7-5939-4db9-aa00-eb0447265c31@q19g2000yqi.googlegroups.com>, <awesie@gmail.com> wrote: >I run a small usenet operation and I am starting to worry about the >possible performance of our server. We get a partial feed from a >couple of peers (~200 Mb/s) and the machine is reporting only 20% CPU >idle and 60% CPU wait. > >This tells me that there is a IO issue and I was wondering what I >should investigate first. According to top, most of the processes in >io wait are dnewslink, sometimes an occasional diablo process, wchan >is usually sync_page. Well, I don't know anything about diablo, but I'm happy to speculate wildly anyway. If I understand correctly, dnewslink is responsible for outgoing feeds, right? I'm sort of surprised, honestly, that that's where your problem is -- I would have guessed you'd be limited by writes, not reads. Do you have the index/database type data (e.g. overview) on the spool filesystem or in /news? (This is a sensible question for INN, although I'm not sure if it is for diablo.) -- Jeffrey M. Vinocur jeff@litech.org
Re: Diablo, Linux, and Performance
Author: Francois Petillon
Date: Mon, 19 Jan 2009 14:25
Date: Mon, 19 Jan 2009 14:25
8 lines
1461 bytes
1461 bytes
On Sun, 18 Jan 2009 21:01:51 +0000, Jeffrey M. Vinocur wrote: > Do you have the index/database type data (e.g. overview) on the > spool filesystem or in /news? (This is a sensible question for > INN, although I'm not sure if it is for diablo.) Unless dreaderd is run on the same server, there is no index on Diablo. François
Re: Diablo, Linux, and Performance
Author: Francois Petillon
Date: Mon, 19 Jan 2009 15:05
Date: Mon, 19 Jan 2009 15:05
40 lines
2887 bytes
2887 bytes
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. > 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). > 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. François
Re: Diablo, Linux, and Performance
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads