You are not logged in.

#1 2007-01-02 14:22:53

sokuban
Member
Registered: 2006-11-11
Posts: 412

Ramdisk

Just an idea I thought when I looked at my gkrellm.

I have a healthy amount of ram (1gig)

I have never touched my 2gig swap partition ever.

My ram usage is ussually only about 1/4 of what I have. According to gkrellm.

I want to put my ram to use but don't want to do so by using ram hungry things like my friends suggest. (KDE)

I think that the /tmp directory only contains temporary files that don't need to be there after a reboot, and it seems to be fairly small.

Would I be crazy to suggest making a ramdisk with some of my ram to make a fast /tmp partition? Would this have a better chance of slowing down my computer or speeding it up?

But of course space might be an issue, but if I have too much stuff in my /tmp then my processes can just go to swap.

PS: Slightly off-topic, but my gkrellm seems to have around 8 or so running processes. I can pull and drag them and there are 8 or so running processes. I think this is because I restart X too much and I have gkrellm in my .xinitrc and it doesn't get killed. I don't know how to run processes when I close X so I added a killall gkrellm into my .xinitrc before gkrellm. Is this ok?

EDIT: Nope, gkrellm still has a lot of running processes. Killing it in .xinitrc doesn't seem to work.

Offline

#2 2007-01-02 14:39:02

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Ramdisk

Check out "tmpfs".


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

Board footer

Powered by FluxBB