Article View: news.software.nntp
Article #23516Re: Buffers/Tuning and Linux
From: Requests for Further Spamming
Date: Fri, 21 Nov 1997 00:00
Date: Fri, 21 Nov 1997 00:00
92 lines
5760 bytes
5760 bytes
On 20 Nov 1997, bill davidsen wrote:
> I'm not sure what problem you think you have with load average, I
> wouldn't worry much about that as long as it is that low and you
> have CPU left. Of course a high load average and lots of idle is a
> hint at io backlog, but your LA is not unreasonable.
I've just migrated a news swerver from Linux to FreeBSD, after doing a
test migration under Linux to a faster CPU, and there are indeed
differences. Where my load average under Linux with the 486 would vary
between 2 and 5 most of the time, and between 1 and 3 with the f00fc7c8
chip, the identical software running under FreeBSD tends to report a load
of 0.10 to 0.30. However, I've heard the load is calculated in a way on
Linux so that it appears higher to the bean counters. The only thing that
matters to me is that the box answers the phone immediately.
> | [...] BSD is probably a better OS to
> | be doing a news server on, but I do beleive this task can be handled by
> | linux, and would like to try to get this done anyways.
>
> I have seen no indication that BSD will do any better than Linux on
> equal hardware. I have some reservatins about the BSD stability,
> although I'm going to get the new OpenBSD for eval when it comes out
> next month.
Actually, I do see some significant differences now that I'm running
on BSD. For example, the size of the innd process is about 1/3 of what it
had been reported as on Linux, while innfeed's processes are roughly the
same as previously. I seem to be using a larger amount of swap space
after being up for a while, and whereas previously with the 486, I had a
problem where innd had to buffer data being fed to a channel inpaths feed,
the f00fc7c8 chip is fast enough that it's never fallen behind when it was
running Linux (some people suspect pipes between processes to be less than
optimal). Plus the lower load average noted.
I had an experience with flaky hardware though, which was only
revealed by FreeBSD's (and NetBSD's) failure to install properly, whereas
Linux had no problem until it came time to do real work, then after some
hours, things got ugly and unstable-looking. The problem was a SIMM
which refused to let the FreeBSD installation get anywhere until it was
pulled out. So it was of benefit to use multiple OSen on that marginal
hardware, else I'd be cursing Linux for something it wasn't responsible
for. Flaky hardware is a common problem causing apparent instability.
A further problem that I noted (and other people have reported in the
news.software.nntp group some weeks back) is that Linux was logging
completely bogus addresses for some connections. I traced several
thousand of these daily to one peer, yet they continued at a rate of a
dozen or so daily when I asked that peer to cease and desist for a spell.
I have not logged a single connection that nnrpd reports as a ? (transport
endpoint is not connected) since starting the news swerver under FreeBSD.
Another admin kindly looked into this by analyzing the network traffic
to the news port on my Linux machine and observed that certain peers (he
listed about five or so) were sending packets with apparently bogus header
data. (I don't have the precise details.) Most or all of these machines
were running FreeBSD. Apparently Linux can't handle these packets from
the FreeBSD machines (and FreeBSD shouldn't be sending out these), whereas
when those feeders are talking to my FreeBSD swerver, there are no
problems. Similar problems were not seen when the same peers were feeding
SGI IRIX news swervers.
So apparently there's a bug in the TCP code in FreeBSD, and even if
there isn't, Linux isn't capable of handling it properly all the time
while other OSen don't have problems. I'll see if I can get more
information about this and report it to the responsible developers, or
even the irresponsible ones.
There will be some instability you observe at first with a default
FreeBSD setup, and given that I am running one of the 3.0 kernel
snapshots, I expect my machine to be not completely stable, and indeed,
I'm having problems with some of the filesystem support that shouldn't
affect normal people like you. However, I had experienced sufficient
instability in the past under Linux with the 2.0.30 kernel as well as it
taking a dislike to innd every week or so, thus I'll be happier if the
system, which is now hours away, can stay up for a month without problems
beyond those brought about by the initial installation, kernel rebuilding,
and general tweaking. As a bonus, it appears that I'm doing somewhat
better in terms of memory usage and TCP stability, although this could
very well be mere artifacts of the differences between the two platforms.
Like they say, the only way to find out is to run 'em both and see
what the weaknesses are, and fix 'em.
Barry Bouwsma
I got yer fixit sledgehammer right here...
Technical Details
Message-ID:
<Pine.BSF.3.96.971121172258.28456C-100000@coredump.int.tele.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<Pine.LNX.3.96.971118220630.23327A-100000@mercury.shreve.net> <651of0$sm2$1@newssvr03-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.971121172258.28456C-100000@coredump.int.tele.dk> Subject: Re: Buffers/Tuning and Linux Date: Fri, 21 Nov 1997 00:00:00 +0000 From: Requests for Further Spamming <abuse@coredump.int.tele.dk> References: <Pine.LNX.3.96.971118220630.23327A-100000@mercury.shreve.net> <651of0$sm2$1@newssvr03-int.news.prodigy.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 291367219 Reply-To: ag786@yfn.ysu.edu Organization: Chocoholics Anonymous Newsgroups: news.software.nntp,comp.os.linux.misc