the 10% factor (making swap files)

Edward Vielmetti emv at math.lsa.umich.edu
Sat Nov 18 06:57:24 AEST 1989


Dave Hitz's article refers to creating swap files with mkfile
(this is on a sun at least) and recommends not to use the -n
option since that will lead to fragmented swapfiles.

That's fine but -- space is a bit tight here, & various people
use their machines differently.  I'd really like to give most
people on diskless 4m 3/50's a 16M swap file that has say
8M pre-allocated & filled w/whatever it takes to swap nicely,
and leave the other 8M to grow dynamically just in case 
someone manages to need it.

I don't see a way to do it with the tools provided, -- does
this approach make sense, & what would it take to do it ?

thanks

--Ed



More information about the Comp.unix.questions mailing list