Date: Sat, 3 Nov 2001 22:23:50 -0000 From: "Mark Hughes" <mark@dvdnews.co.uk> To: "Gary W. Swearingen" <swear@blarg.net> Cc: <freebsd-questions@freebsd.org> Subject: Re: Swap space with 3GB RAM Message-ID: <012601c164b6$4bf46d60$0200a8c0@mark2> References: <008601c1642e$7138ddf0$0200a8c0@mark2> <critcrbjcz.tcr@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
> > So, that given, any problems putting the swap space at the end of the > > partition table instead of near the start as one normally would? > > I'm no kernel expert, but lots of reading has never uncovered a problem > with that. I think the only reason for putting it first is to try to > place it on the outer disk tracks which sometimes xfr data faster. My > current swap FreeBSD partition is in the second 1/4 of my 40 GB disk. > > P.S. I wouldn't use swap at all in your case, though I've yet to be that > RAM-rich to do without it. I think you read too much into tuning(7)'s > words "perform best". I'm fairly sure that it's just referring to > performance in paging/swapping situations that you will not have. Maybe > you could benchmark a kernel build, say, with and without the swap and > let us know for sure so others don't feel the need to be so wasteful of > disk. Rememeber, it only says it "can" lead to inefficiencies: Personally I'd agree that from a performance point of view we may be better off without swap at all - however the reason for having the swap even when you don't need it is, I think, so you can do some sort of memory dump to the swap if you have problems. I'm not sure of the technicalities, and if we were short on HDD space then i'd skip it, but we've got plenty more HDD space than we'll need for a long time to come, so it's not a problem to put it in. I was just wondering about any performance issues that would arise from having the non-used swap at the "wrong end" of the partition table. Mark -- Mark Hughes - DVD & Film Content Manager, Technical Officer Digital Spy Ltd http://www.digitalspy.co.uk/ Your number one source for digital media and entertainment news! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?012601c164b6$4bf46d60$0200a8c0>