On Sat, 30 May 2009 07:08:55 -0700
Grant <emailgr...@gmail.com> wrote:

> >> 2. added elevator=noop as a boot parameter
> >
> > I remember that I've given this second advice. Since then I've read in
> > the German computer journal c't [1] that CFQ has a detection for SSDs
> > since 2.6.28 and now is the best choice for these devices.
> 
> OK, do I need a boot parameter if I've set CFQ as the default IO
> scheduler in the kernel config?

No, that's what default switch is there for.


> > Yup, the entry should read:
> > tmp /tmp tmpfs default 0 0

I'd also suggest to explicitly specify max size of tmpfs mount, since
system locking because of wrong cp command is probably the last thing
you want. Argument is "size=" (see man 8 mount).


> Do you think mounting /tmp in RAM is worthwhile?  Mike doesn't seem to
> think too highly of it.

I guess accelerated fsync and reduced disk wear should be a nice plus
for SSD device, provided the path in question is constanly used for
writing which really might be the case with files, created in /tmp by
various mktemp implementations (like python's) which I haven't really
thought about, so I think I might be wrong about the issue here, sorry.


-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: PGP signature

Reply via email to