From owner-freebsd-questions Thu Jun 20 17:07:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA28151 for questions-outgoing; Thu, 20 Jun 1996 17:07:21 -0700 (PDT) Received: from chain.iafrica.com (root@chain.iafrica.com [196.7.74.174]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA28111 for ; Thu, 20 Jun 1996 17:07:15 -0700 (PDT) Received: from localhost (khetan@localhost) by chain.iafrica.com (8.7.5/8.6.12) with SMTP id CAA02630 for ; Fri, 21 Jun 1996 02:06:59 +0200 (SAT) X-Authentication-Warning: chain.iafrica.com: khetan owned process doing -bs Date: Fri, 21 Jun 1996 02:06:57 +0200 (SAT) From: Khetan Gajjar To: questions@freebsd.org Subject: Re: swap problem - more information Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 20 Jun 1996, Tony Jones wrote: >Welcome to the world of Unix performance tuning :-) :-( >The problem isn't that the 'drive pages so often', it's paging as much >as you are asking it to do :-). The problem is likely 'how' it is paging. Aha. >I'm pretty sure paging on FreeBSD is round robin, so you are hitting your >vnode/fs swap area constantly. Especially with the VSZ requirements you have. Hmmm. Yeah, was wondering why it hits both at the same time. Now I have a question for you - I've setup my machine so that the first drive is a Win95 machine, and my second drive is a FreeBSD machine. I've installed the boot manager (and don't ask me how I got it to work, I dunno myself) and I get an option when I start up, f1 for DOS, f5 for other drive. I hit f5, and then f1 for freebsd, f5 for other drive. I hit f1, and hey presto, freebsd. I've decided to ditch Win95; however how can I retain the boot manager, yet get the drive to boot off the second drive without stuffing up the entire setup ? >Going through a vnode, to the filesystem layer, to the block layer is adding >at least two levels of indirection. You have just discovered that Virtual Hmm. Would explain why it's so *slow*. >It's going to hurt even if the vnode/fs layers have been carefully optimised. Which I dunno how to do. >Also, I hope you don't have the vnode/fs page file on the same spindle as the >raw partition ? Rule #1 for multiple swap areas is seperate spindles. Same spindle (i am afraid). >I'd be backing up and doing a disk re-org to add another swap partition >on a different spindle or enlarge your current area if you have only one >spindle. See my query above. Or, how do I decrease the size of one of my freebsd partitions and add that space to the swap partition ? Regards, Khetan Gajjar. --- http://www.iafrica.com/~khetan/ UUNet-Internet Africa Operations - 0800-030-002