Date: Fri, 21 Jun 1996 02:06:57 +0200 (SAT) From: Khetan Gajjar <khetan@iafrica.com> To: questions@freebsd.org Subject: Re: swap problem - more information Message-ID: <Pine.BSI.3.93.960621020634.272W-100000@chain.iafrica.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.960621020634.272W-100000>