Thread View: news.software.nntp
7 messages
7 total messages
Started by Fredrik Lindgren
Sun, 30 Mar 1997 00:00
Problems with Linux and INN 1.5.1...
Author: Fredrik Lindgren
Date: Sun, 30 Mar 1997 00:00
Date: Sun, 30 Mar 1997 00:00
34 lines
1661 bytes
1661 bytes
Hi! I have been experiencing som problems with our INN 1.5.1 installation. We use a Pentium Pro 200 with 128Mb RAM, a Adaptec 2940 SCSI controller connected to a SCSI-SCSI RAID controller that stripes the news-spool over 7x2Gb 7200Rpm drives. The RAID controller is a InfoTrend Tech Inc. with 16Mb Cache RAM installed. The machine is running Linux 2.0.29 and INN v1.5.1. The overview database is on a separate 4Gb 7200 rpm drive on the same 2940 controller. We have a full feed from our provider, wich means 21500 groups and about 150-250k articles per day in our case. The problem we're seeing is that the filesystem on the news-spool is getting corrupted. This leads to all kins of weirdness on INNs behalf. INN claims that the filesystem is full, even though it's not even at 50%. It fails to symlink files, and so on. Ofcourse, when this happens INN throttles. I would just like to know if anyone have experienced these problems and found a solution? Is there known problem with ext2fs and large partitions? I would be greateful for any insight whatsoever... Regards, Fredrik Lindgren System Admin, SolNET
Re: Problems with Linux and INN 1.5.1...
Author: Jeff Garzik
Date: Tue, 01 Apr 1997 00:00
Date: Tue, 01 Apr 1997 00:00
86 lines
2963 bytes
2963 bytes
This is a multi-part message in MIME format.
--------------4A973A9D3A2D9ED41A2B2535
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Fredrik Lindgren wrote:
> The machine is running Linux 2.0.29 and INN v1.5.1. The overview
> database is on a separate 4Gb 7200 rpm drive on the same 2940 controller.
You should break the RAID array off onto another controller. That's a
LOT of bandwidth to push through a single controller. I have 3 PCI
SCSI2 NCR controllers on my SCSI chain.
> The problem we're seeing is that the filesystem on the news-spool is
> getting corrupted. This leads to all kins of weirdness on INNs behalf.
> INN claims that the filesystem is full, even though it's not even
> at 50%. It fails to symlink files, and so on. Ofcourse, when this
> happens INN throttles.
Try the attached patch I got from the kernel mailing list, authored by
Theodore Ts'o. There are some problems with Linux and 2940 controllers
unrelated to this patch, as this only fixes the general inode corruption
symptoms you describe above.
Jeff
--------------4A973A9D3A2D9ED41A2B2535
Content-Type: text/plain; charset=us-ascii; name="tytso.inode.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="tytso.inode.patch"
--- fs/inode.c 1997/03/31 17:05:03 1.1
+++ fs/inode.c 1997/03/31 20:02:49
@@ -147,7 +147,8 @@
static inline void lock_inode(struct inode * inode)
{
- wait_on_inode(inode);
+ while (inode->i_lock)
+ wait_on_inode(inode);
inode->i_lock = 1;
}
@@ -173,8 +174,8 @@
{
struct wait_queue * wait;
+ lock_inode(inode);
truncate_inode_pages(inode, 0);
- wait_on_inode(inode);
if (IS_WRITABLE(inode)) {
if (inode->i_sb && inode->i_sb->dq_op)
inode->i_sb->dq_op->drop(inode);
@@ -186,6 +187,7 @@
nr_free_inodes++;
memset(inode,0,sizeof(*inode));
((volatile struct inode *) inode)->i_wait = wait;
+ wake_up(&inode->i_wait);
insert_inode_free(inode);
}
@@ -512,6 +514,7 @@
sleep_on(&inode_wait);
goto repeat;
}
+found_good:
if (best->i_lock) {
wait_on_inode(best);
goto repeat;
@@ -522,7 +525,7 @@
}
if (best->i_count)
goto repeat;
-found_good:
+
clear_inode(best);
best->i_count = 1;
best->i_nlink = 1;
--------------4A973A9D3A2D9ED41A2B2535--
Re: Problems with Linux and INN 1.5.1...
Author: Torbjorn Lindgren
Date: Sun, 06 Apr 1997 00:00
Date: Sun, 06 Apr 1997 00:00
47 lines
2389 bytes
2389 bytes
Fredrik Lindgren <fli@solnet.sollentuna.se> wrote: >We use a Pentium Pro 200 with 128Mb RAM, a Adaptec 2940 SCSI controller >connected to a SCSI-SCSI RAID controller that stripes the news-spool >over 7x2Gb 7200Rpm drives. The RAID controller is a InfoTrend Tech Inc. >with 16Mb Cache RAM installed. 7 st 7200 RPM disks on a single 2940!?! Is it really a '2940', and not something faster (2940W/U/UW)? Even assuming older comparatively slow 7200 RPM disks they would still be capable of provide data faster than a *2940UW* could handle (from the outer tracks at least), and a 2940UW has *four* times the bandwidth of a plain 2940! With new 7200 RPM disks even four disks could do it... I suspect the only reason it doesn't handicap you that much is that News is mostly small transactions, so it's IO operations limited mostly. But still, you should get the fastest link the RAID controller can handle, what that is you have to check with the RAID controller documentation. >The machine is running Linux 2.0.29 and INN v1.5.1. The overview >database is on a separate 4Gb 7200 rpm drive on the same 2940 controller. You have *more* on that SCSI channel? I wouldn't put more than perhaps *3* modern high-end 7200 RPM disks per 2940UW. Or 1 or possibly 2 on a 2940U or 2940W. 3940UW/3985UW is nice to reduce the required number of PCI slots... We're running 2.0.29+pre-0.30.2+AIC7xxx-Feb12 (with full tagged command queuing enabled) and haven't seen any problems (yet). On the other hand our spool is just 2x4GB now (2 GB overview, 2 GB /usr/local/news and 2 GB / & /usr, for a total of five disks on two UW and one U SCSI channel), but it might well expand to 4x4GB soon. -- Torbj�rn Lindgren E-mail: tl@funcom.com If Santa ever DID deliver presents on Christmas Eve, he's dead now.
Re: Problems with Linux and INN 1.5.1...
Author: Ragnar Lonn
Date: Sun, 06 Apr 1997 00:00
Date: Sun, 06 Apr 1997 00:00
77 lines
3818 bytes
3818 bytes
In article <5i8rf8$huu$1@araga.funcom.com>, tl@funcom.com (Torbjorn Lindgren) wrote: >7 st 7200 RPM disks on a single 2940!?! Is it really a '2940', and not >something faster (2940W/U/UW)? > >Even assuming older comparatively slow 7200 RPM disks they would still >be capable of provide data faster than a *2940UW* could handle (from >the outer tracks at least), and a 2940UW has *four* times the >bandwidth of a plain 2940! > >With new 7200 RPM disks even four disks could do it... I suspect the >only reason it doesn't handicap you that much is that News is mostly >small transactions, so it's IO operations limited mostly. > You're right there. Actually, you can probably have over 10 disks on a single bus before it gets saturated as most I/O is *not* operations streaming very large files but many small transactions and for those, you'll run into the disk I/O operations/second bottleneck long before the bus bandwidth or the SCSI adapter's capacity to handle transactions become a problem. I thought like you did just a little while ago but then I read a performance tuning book from Sun where they showed some examples of what happens on a busy disk system and it's really not hard to see if you think about it for a moment. If you have 7 fast disks, they'll be able to do maybe 100 operations per second each totalling 700 ops/second. If you have a SCSI bus bandwidth of 20MB/sec, each operation can involve max 28500 bytes or the bus bandwidth will be too small. My guess is that most disk operations, especially on a news server system, involves a lot less data than 28K (even including the SCSI command overhead). And this value assumes all 7 disks are operating at their absolute max simultaneously, each doing 100 operations per second. If, on the other hand, you have an application where you want to stream audio/video data very fast to/from a few very large files, things will be different. Then you might run into the I/O bottleneck that is the SCSI bus because the disks are streaming data so fast when they don't have to seek all over the place to find things. In most other applications, though, disk operations per second is the limiting factor and bus bandwidth is probably only rarely involved. /Ragnar >But still, you should get the fastest link the RAID controller can >handle, what that is you have to check with the RAID controller >documentation. > > >>The machine is running Linux 2.0.29 and INN v1.5.1. The overview >>database is on a separate 4Gb 7200 rpm drive on the same 2940 controller. > >You have *more* on that SCSI channel? > >I wouldn't put more than perhaps *3* modern high-end 7200 RPM disks >per 2940UW. Or 1 or possibly 2 on a 2940U or 2940W. 3940UW/3985UW is >nice to reduce the required number of PCI slots... > > >We're running 2.0.29+pre-0.30.2+AIC7xxx-Feb12 (with full tagged >command queuing enabled) and haven't seen any problems (yet). > >On the other hand our spool is just 2x4GB now (2 GB overview, 2 GB >/usr/local/news and 2 GB / & /usr, for a total of five disks on two UW >and one U SCSI channel), but it might well expand to 4x4GB soon. >
Re: Problems with Linux and INN 1.5.1...
Author: Ragnar Lonn
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
25 lines
1751 bytes
1751 bytes
In article <5ialvs$gv8$1@araga.funcom.com>, tl@funcom.com (Torbjorn Lindgren) wrote: >I wouldn't be comfortable with 7 high-end disk on a 40MB/s UW channel, >especially since getting an extra SCSI channel isn't that expensive >nowadays :-), but others may differ. > Well, I agree on that it doesn't hurt to be on the safe side. However, you might need the extra expansion slots occupied by your extra SCSI card/s for other things so if you're short on them (the slots) it might not be a bad idea to think an extra time before deciding you *must* have more SCSI buses ;) We recently bought a high-end NFS filer from Network Appliance and they don't seem worried about having many disks on a single bus. They have fast/wide SCSI buses and, I think, up to 12 disks on each bus (in our setup we have two buses and 18 disks). I don't think they would do this if it impaired performance, considering the filer costs about $100,000 and an extra SCSI card (it is Alpha-based and uses PCI cards) costs, what? $1000 ? /Ragnar, Algonet
Re: Problems with Linux and INN 1.5.1...
Author: Torbjorn Lindgren
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
38 lines
2239 bytes
2239 bytes
Ragnar Lonn <prl@algonet.se> wrote: >I thought like you did just a little while ago but then I read a performance >tuning book from Sun where they showed some examples of what happens >on a busy disk system and it's really not hard to see if you think about it >for a moment. If you have 7 fast disks, they'll be able to do maybe 100 >operations per second each totalling 700 ops/second. [...] >If you have a SCSI bus bandwidth of 20MB/sec, each operation can >involve max 28500 bytes or the bus bandwidth will be too small. My >guess is that most disk operations, especially on a news server >system, involves a lot less data than 28K (even including the SCSI >command overhead). And this value assumes all 7 disks are operating >at their absolute max simultaneously, each doing 100 operations per >second. 700 ops/second should be reachable (I've seen one op/revolution in other applications, which used somewhat larger reads than I would expect from news, especially expire, which would give 840 ops/second with 7 st 7200 RPM disks). I don't doubt that you will still have bandwidth left, as long as nothing tries to be intelligent and read ahead, but there is still a question of latency (lots of things going on, it might take longer before an operation gets to the disk) and overhead. I wouldn't be comfortable with 7 high-end disk on a 40MB/s UW channel, especially since getting an extra SCSI channel isn't that expensive nowadays :-), but others may differ. -- Torbj�rn Lindgren E-mail: tl@funcom.com If Santa ever DID deliver presents on Christmas Eve, he's dead now.
Re: Problems with Linux and INN 1.5.1...
Author: bill davidsen
Date: Thu, 10 Apr 1997 00:00
Date: Thu, 10 Apr 1997 00:00
17 lines
1225 bytes
1225 bytes
In article <5ialvs$gv8$1@araga.funcom.com>, Torbjorn Lindgren <tl@funcom.com> wrote: | I wouldn't be comfortable with 7 high-end disk on a 40MB/s UW channel, | especially since getting an extra SCSI channel isn't that expensive | nowadays :-), but others may differ. Assuming you have the slot free and don't have to get a new motherboard... -- -bill davidsen (davidsen@prodigy.com) "As a software development model, Anarchy does not scale well." -Dave Welch
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