l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2010 May 27 19:32

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] ssd and swap
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] ssd and swap

On Wed, May 26, 2010 at 10:13:09AM -0500, Chanoch (Ken) Bloom wrote:
> On Wed, 2010-05-26 at 07:34 -0700, Scott Miller wrote:
> > Anyone using an SSD? I've got one on the way to use as a boot drive,
> > and am pondering not having swap at all. Is this crazy?
> > 
> > In the Windows world I see persons advising turning off the Windows
> > page file when using an SSD.
> > 
> > I have a lot of ram: 8GB. :) But is it risky to not have a swap?
> > Thanks for your input,

> The time when I *do* touch swap is when I have some sort of memory leak
> -- typically in a program I or one of my students wrote -- and the
> computer allocates all of its RAM *very* quickly. 

Hmm, that sounds like my MS project at one point. Perhaps that is the
reason for the quiet response from my advisor. 

You can temporarily add swap for instances like this[1]. The following
will add 1 GB of swap.

dd if=/dev/zero of=/swapfile bs=1024 count=1048576
mkswap /swapfile
swapon /swapfile

when done

swapoff /swapfile

[1] http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space

Brian Lavender

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.