Quote:
The easiest way would be to remove the swap entries from fstab - be aware of suspend issues; check the boot options. Later on do the swapon.
|
I'm scratching my head over how to do this. I could create an initscript to do the swapon in level 5, but I think it would still wait before starting gdm. Could I make it a background task? Or is there some other way to accomplish this? I've never been brave enough to touch inittab.
Possibly related issue: I've been trying to figure out who runs rc.local and when in RHEL4. It's not called in /etc/rc*, nor is it mentioned in inittab. There's no man page for it.
Quote:
Deadrat have patched mkswap to allow swap extents greater than 2 Gig. I did look at the source for swapon a while back, and I think it validates each slot in the space map (been a while since I looked though). Could be getting confused by the big extent.
|
My swapon -s output shows that it's happy with swap files of 20 GB. That may be because it's a 64-bit system. Does anyone know about the issue of large extents causing confusion?
Quote:
32 gb of swap is insane, so is 16 gb of ram
|
This computer was bought to run a number-crunching application. It's a coupled system of about 100 diffusion equations on a 3-dimensional grid. In its original state it would fill all the available memory, run for a week, and overfill 12 GB of swap. They recently hired a young guy who actually knows something about programming. He's been squashing bugs and abolishing sloppy programming practices. He claims that he has reduced the memory use by a factor of 5 and more than doubled the speed. I should probably check to see if this much swap is still needed.