[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mounting /tmp on ram disk
- To: ILUG <linux-il(at-nospam)linux.org.il>
- Subject: Mounting /tmp on ram disk
- From: Iftach Hyams <paraduma(at-nospam)elbit.co.il>
- Date: Thu, 2 Aug 2001 11:47:22 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
I am trying to squeeze better performance using the /tmp directory.
The first option : "ln -s /home/tmp /tmp" so it will be in the same file
system as
the home directories and so all the operations that create a temporal file
the then
move it will really move inodes and not copy the file.
The second option (as seen on SunOS) - mount the /tmp on a virtual files
system
resident in the swap. It actually a ram disk that can extend to the swap
partition
when needed.
Do you know which one is best ?
How can I (simply) do the second option in RedHat 7.1. Should I patch the
kernel ?
Tnx,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
God is real, unless declared integer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Iftach Hyams
E.S.L. Haifa
972 - 4 - 831 5605
paraduma@elbit.co.il
..
---
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il