Its a minor gain if any, but something you might consider doing is
running /tmp on a ramdisk via tmpfs. I have begun doing on systems with
adequate memory. Though amount of memory needed can vary, depending on
existing /tmp partition size.

It might help out to switch your /tmp partition from a on disk file
system to a ramdisk using tmpfs. Its as difficult as changing the
following lines in /etc/fstab

#/dev/sda11     /tmp    ext3    defaults                1 2
none            /tmp    tmpfs   defaults,size=4G        0 0

It can be done on a running system, but likely have to shut most all
services down including ssh. Might even have to rely on lsof and fuser
to see if anything is still using that filesystem on a running system. I
don't think you can get away with a remount command, haven't tried so
might be possible.

If you do not want to modify fstab right away and/or to dial in size, 
you can play with it on a running system as follows.

umount /tmp
mount -t tmpfs -o size=1G tmpfs /tmp

Again its a minor gain if any, but anything written to /tmp will now be
written to a ramdisk/memory. Which is faster than any disks, I believe
including solid state disks.

Note:
Unfortunately many things write to "tmp" or scratch/cache space else
where. So those things won't benefit, but you could also mount those as
tmpfs ramdisk as well. Even if they are part of an existing partition
(not presently on their own dedicated partition).

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com


---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]

Reply via email to