Thread View: news.software.nntp
4 messages
4 total messages
Started by Todd Romero
Tue, 30 Sep 1997 00:00
disk access
Author: Todd Romero
Date: Tue, 30 Sep 1997 00:00
Date: Tue, 30 Sep 1997 00:00
41 lines
2028 bytes
2028 bytes
I am in the proccess of building a new nnrp server, and am a little stumped by a few things. This is my config as far as disk setup goes. (4 controllers) bha = BusLogic PCI SCSI controller aic = Adaptec PCI SCSI controller bha0 ---> 2, 2gig disks (1 for system disk, and 1 for /var/news) bha1 ---> 1 9gig disk (spool disk) aic0 ---> 1 9gig disk (spool disk, contains only alt.binaries) aic1 ---> 1 9gig disk (spool disk, comp, sci, rec, biz, misc) When I tail the /var/log/news/news file to watch incoming news, it seems real slow! Sometimes the output of the tail just stops for 30sec or so. When I tail the /var/log/news/news on an older nnrp box, that has lesser hardware config, it scrolls non-stop at a nice pace. Does tailing the log files like that give an accurate representaion of the real-time feed coming into your machine? If so this is rather disgruntling. Would a PCI ethernet card make that much of a performance boost if I added one? And, the disks activity light on the disk housing the /var/news partition is on basically non-stop. The spool is not on that disk either. Could there be a disk problem? I know the history file gets written to all the time, but could that be enough to show disk-activity on that disk non-stop, when I see only a smattering of activity on the others. thanks for any advice you can give this poor network engineer who has been given the unwanted gift of news-admin. I *thought* BGP routing was difficult! =) thanks todd
Re: disk access
Author: Joe Greco
Date: Tue, 30 Sep 1997 00:00
Date: Tue, 30 Sep 1997 00:00
60 lines
2990 bytes
2990 bytes
In news.software.nntp article <34314F64.7E4@mns.net>, todd@mns.net wrote: :I am in the proccess of building a new nnrp server, and am a little :stumped by a few things. : :This is my config as far as disk setup goes. (4 controllers) : :bha = BusLogic PCI SCSI controller :aic = Adaptec PCI SCSI controller : :bha0 ---> 2, 2gig disks (1 for system disk, and 1 for /var/news) :bha1 ---> 1 9gig disk (spool disk) :aic0 ---> 1 9gig disk (spool disk, contains only alt.binaries) :aic1 ---> 1 9gig disk (spool disk, comp, sci, rec, biz, misc) This is a good configuration for an archive machine, but it is garbage for a news server. More disks. Smaller disks. 9GB disks are questionably useful for alt.binaries. Everything else should be 4GB or preferably under. Your average transaction size is tiny, for news. :When I tail the /var/log/news/news file to watch incoming news, it seems :real slow! Sometimes the output of the tail just stops for 30sec or so. :When I tail the /var/log/news/news on an older nnrp box, that has lesser :hardware config, it scrolls non-stop at a nice pace. : :Does tailing the log files like that give an accurate representaion of :the real-time feed coming into your machine? If so this is rather :disgruntling. : :Would a PCI ethernet card make that much of a performance boost if I :added one? Doubtful. :And, the disks activity light on the disk housing the /var/news :partition is on basically non-stop. The spool is not on that disk :either. Could there be a disk problem? I know the history file gets :written to all the time, but could that be enough to show disk-activity :on that disk non-stop, when I see only a smattering of activity on the :others. : :thanks for any advice you can give this poor network engineer who has :been given the unwanted gift of news-admin. I *thought* BGP routing was :difficult! =) Put /var/news on 2 1GB drives striped together (I use 128 block stripe sizes). Make sure you haven't made any silly mistakes... in particular make sure you've got your active file memory mapped, and you have ICD_SYNC_COUNT set high (I use 120), and make sure you've added -DMMAP to DBZCFLAGS. Then install the innd-timer patch, so you can see what's happening. If it's still a problem, see what using a different DBZ variant would do for you. http://www.nntp.sol.net/patches ... JG
Re: disk access
Author: Matt Dillon
Date: Tue, 30 Sep 1997 00:00
Date: Tue, 30 Sep 1997 00:00
48 lines
2575 bytes
2575 bytes
:In article <34314F64.7E4@mns.net>, Todd Romero <todd@mns.net> wrote:
:>I am in the proccess of building a new nnrp server, and am a little
:>stumped by a few things.
:>
:>This is my config as far as disk setup goes. (4 controllers)
:>
:>bha = BusLogic PCI SCSI controller
:>aic = Adaptec PCI SCSI controller
:>
:>bha0 ---> 2, 2gig disks (1 for system disk, and 1 for /var/news)
:>bha1 ---> 1 9gig disk (spool disk)
:>aic0 ---> 1 9gig disk (spool disk, contains only alt.binaries)
:>aic1 ---> 1 9gig disk (spool disk, comp, sci, rec, biz, misc)
:>
:>When I tail the /var/log/news/news file to watch incoming news, it seems
:...
:>
:>And, the disks activity light on the disk housing the /var/news
:>partition is on basically non-stop. The spool is not on that disk
:>either. Could there be a disk problem? I know the history file gets
:>written to all the time, but could that be enough to show disk-activity
:...
:>thanks
:>todd
It sounds like a memory issue to me. You need at least 128MB of ram
in that machine and you may have to tune your kernel caches. If you
run a lot of feeds or readers, I'd fill her right up to 256MB. I know
people who run partial feeds with 64MB of ram, but I don't know anyone
who runs a full feed with less then 96.
Four controllers is a bit overkill. We usually just use one ultra-wide
controller in our news boxes. An adaptec PCI SCSI controller is
capable of at least 500 transactions/sec. Since (for news applications)
disks tend to seek-saturate at 100 transactions/sec, one controller can
handle five fully seek-saturated disks no problem.
You should also take a careful look at your resource utilization... e.g.
with BSDish systems: 'netstat -in 1', 'vmstat 1', 'systat -vm',
'pstat -s', etc. Also make sure your history file's size isn't running
away. If it is larger then 350MB you may have a problem.
-Matt
Re: disk access
Author: Avi Freedman
Date: Wed, 01 Oct 1997 00:00
Date: Wed, 01 Oct 1997 00:00
24 lines
1335 bytes
1335 bytes
Todd Romero (todd@mns.net) wrote: : When I tail the /var/log/news/news file to watch incoming news, it seems : real slow! Sometimes the output of the tail just stops for 30sec or so. : When I tail the /var/log/news/news on an older nnrp box, that has lesser : hardware config, it scrolls non-stop at a nice pace. : : Does tailing the log files like that give an accurate representaion of : the real-time feed coming into your machine? If so this is rather : disgruntling. It should/could be bursty but should average out and with current news volumes, should pretty much scroll constantly. But one thing you *could* do is make /var/log/news/news a link to /dev/null to see if it's a bottleneck, and instead tail -f your history file... : thanks : todd Avi
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