🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11391

Re: What's wrong with sucking? and how do we fix it?

#11391
From: Mark Hittinger
Date: Thu, 03 Oct 1996 00:00
27 lines
1907 bytes
jerry@ATC.Olivetti.Com (Jerry Aguirre) writes:
>In article <530mhh$j50@dfw-ixnews1.ix.netcom.com> bugs@freebsd.netcom.com (Mark Hittinger) writes:
>>
>>If the process is doing ok things proceed as normal.  If the process turns
>>out to be abusive then the process nices itself and sleeps a second every
>>100 invocations of as_QIOread.
>I am sorry to say the "nice" is not the answer in many cases.  The nice
>value effects how CPU resources are allocated.  If the system is disk
>bound then the niced processes can still cause quite a bit of a problem.
>This is a case where adding faster or more CPUs might degrade performance
>as it would allow the niced process more chance to load the disks.

I suppose it might depend on your I/O subsystem's performance :-)  When a
sucking feed gets going here it will peg the nnrpd at around 25% cpu.  If I
have enough of these puppies showing up at the same time I loose.

With a respectable I/O subsystem "nice" is part of the answer, at least here.
Your mileage may vary - I wrote the patch to dig my own butt out :-)

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Technical Details
Message-ID: <531l83$dr7@dfw-ixnews1.ix.netcom.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.mbox.zip!not-for-mail
References: <52stuk$8v@pixi.com> <52uhd2$5ov@brasil.moneng.mei.com> <rj4Uycun87nc092yn@ibm.net> <530mhh$j50@dfw-ixnews1.ix.netcom.com> <531h94$k7d@olivea.ATC.Olivetti.Com>

Show Full Headers
Complete Article Headers
Message-ID: <531l83$dr7@dfw-ixnews1.ix.netcom.com>
Subject: Re: What's wrong with sucking? and how do we fix it?
Date: Thu, 03 Oct 1996 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <52stuk$8v@pixi.com> <52uhd2$5ov@brasil.moneng.mei.com> <rj4Uycun87nc092yn@ibm.net> <530mhh$j50@dfw-ixnews1.ix.netcom.com> <531h94$k7d@olivea.ATC.Olivetti.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.mbox.zip!not-for-mail
X-Deja-AN: 187050776
Distribution: inet
Organization: Netcom
X-netcom-date: Thu Oct 03 7:20:21 PM CDT 1996
Newsgroups: news.software.nntp