From owner-freebsd-hackers Tue Sep 5 10:43:32 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id KAA07219 for hackers-outgoing; Tue, 5 Sep 1995 10:43:32 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id KAA07212 for ; Tue, 5 Sep 1995 10:43:31 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA23692; Tue, 5 Sep 1995 10:37:47 -0700 From: Terry Lambert Message-Id: <199509051737.KAA23692@phaeton.artisoft.com> Subject: Re: any way to limit nfs request throughput? To: mmead@Glock.COM (matthew c. mead) Date: Tue, 5 Sep 1995 10:37:47 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: <199509041625.MAA06295@Glock.COM> from "matthew c. mead" at Sep 4, 95 12:25:21 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1307 Sender: hackers-owner@FreeBSD.ORG Precedence: bulk > I have someone that's doing some diskless booting off my machine, > which he really should be purchasing his own drive for. Given that I've > only got a 486/66 with 48M ram and an ne2000 clone ethernet card, his > activity is slowing my machine down a lot. Is there any way to limit the > nfs request frequency, or disallow more than x requests per second to > alleviate some of this problem, or should I just nice -19 the nfs > processes? Any other ideas? Thanks... Nicing down the processes will prevent them from being sheduled to run when another process of higher priority is also ready to run (this is simplistic, and doesn't take into account anti-starvation). As long as the reason you are taking so many requests is actual disk I/O, then nice should work. If he's hitting the heck out of cache, then you can't slow it down because the NFS process isn't sleeping on I/O waits. It's only when a process sleeps that nice takes effect, and only then in deciding how long to delay scheduling it to run in favor of other processes. One way to *significantly* reduce NFS throuput is to load Linux. 8-). Terry Lambert terry@lambert.org --- "It's a joke son, a joke!" -- Foghorn Leghorn --- Any opinions in this posting are my own and not those of my present or previous employers.