On Sun, 2003-06-01 at 15:50, Kent Borg wrote: > On Thu, May 15, 2003 at 01:42:03PM +0800, Lao Yu wrote: > > I have a PC of 768M memory. How much swap space should I allocate in > > my Red Hat 8.0? According to the manual, it should be 2 X 768 = 1536 > > M. Is this too much? > > Here are some considerations: > > 1) Disk space is cheap, having too much swap isn't a problem except > for the loss of disk space. > > 2) The more RAM you have the less you need swap, but also the more > swap you *can* use without actively paging a whole bunch. > > 3) 768 MB of RAM is quite a bit, it could profitably a lot of swap, > but it could run quite nicely with none. > > I suggest at least a few hundred MB to let the system shuffle off some > unused stuff now and then in favor of disk caching and buffering, > which can speed things up. (No swap is conceivable, however.) Giving > it 1 GB of swap, isn't crazy either. Once I did get my notebook using > more swap than RAM, and it still ran... > > - On my notebook I have 192 MB of RAM, 256 MB of swap, 13 GB disk. > > - On my basement server I have 256 MB RAM, 1 GB swap, 60 GB disk. > > - On my kitchen computer I have 256 MB RAM, 1 GB swap, 80 GB disk. > > - On my work computer I have 512 GB RAM, 1 GB swap, and I forget how > big a disk--not terribly big. > > You can see I like the nice round 1 GB. > > > I suggest you go with either zero (lean, no fluff attitude), or 512 MB > (conservative), or 1 GB (ample but not crazy), whatever "feels" best. > > > -kb >
Heres my advice: I run 512mb RAM and I almost *never* hit the swap partition. However, if you sone day DO start to go over your RAM, as can be common on a server, the swap will save your computer from an ugly death. So it really depends on how much memory you think you will need under the WORSE POSSIBLE case. I think my swap is 512mb, which is what I had it as when I had 256mb physical RAM. In your case... Id probably set it to 512, or 1024 depending on how much disk space you can spare. If your really short for space, Id wager an average PC would have no problem with zero swap space. What ever you choose bear in mind that its hard to add partitions later. Good luck with your linux machine! Cheers, Ryan -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list