Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ram Drive for loading programs fast :) (demoing Phoenix)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
kappax
Apprentice
Apprentice


Joined: 30 Aug 2002
Posts: 273
Location: The Moon

PostPosted: Wed Apr 09, 2003 12:01 am    Post subject: Reply with quote

jesterspet wrote:
:idea: ::: thinking :::: :idea:

I wonder if XFree86 will run faster if I move it to my USB Drive or a ram drive :?:

I must look into what it would take to move XFree86 without breaking the entire thing.


I dont think so, it might make X start faster, but i think after X is started it does not need much. but one thing i can think might help, if you have the ram, is moving your fonts to a ram drive ( each program scans your fonts on start ) if the fonts were located on ram you could get some speed maybe.
_________________
My Box
glxgears - 4083.400 FPS
OS: GNU/Linux
Distro: Gentoo
kernel: 2.6.0-test9-mm2
----------------------
vi makes me :wq in word pad :(
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Wed Apr 09, 2003 1:44 am    Post subject: Reply with quote

I've got both /tmp and /var/tmp mounted on tmpfs in my fstab. I am often suprised at how fast emerges are. I keep thinking that something borked because it gets done so quick.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
dreamer3
Guru
Guru


Joined: 24 Sep 2002
Posts: 553

PostPosted: Wed Apr 09, 2003 5:49 am    Post subject: Reply with quote

Jimbow wrote:
I've got both /tmp and /var/tmp mounted on tmpfs in my fstab. I am often suprised at how fast emerges are. I keep thinking that something borked because it gets done so quick.

I used to do this but big compiles ticked me off (Mozilla, etc) and started swapping and seemed to complete slower than just running from disk...

But for most smaller to medium emerges with plenty of RAM it is the coolest thing...
Back to top
View user's profile Send private message
dave.fraser
n00b
n00b


Joined: 07 Jul 2002
Posts: 12
Location: Scotland

PostPosted: Fri May 02, 2003 9:58 pm    Post subject: Using the video memory on an old video card Reply with quote

I read a HOWTO a while back along these lines. It described how you could use XFree to setup an old video card, then mount the video ram as a ramdisk. It wouldn't be as fast as a regular ramdisk, because you'd be accessing it over PCI, but would otherwise have a similar effect without sacrificing main memory. Great if you have an old card lying around idle. I've been trying to find the link, but unsuccessfully. I'll post it if I find it. Has anyone else seen/done this?
Back to top
View user's profile Send private message
nikai
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 270
Location: Kitzbühel, Austria

PostPosted: Wed Nov 19, 2003 4:57 pm    Post subject: Reply with quote

A small correction in the second ramit script:
When using a different mount point with RD, list_rammed() doesn't work, because /.rawspeed is still hardcoded.

This should work better:
Code:
list_rammed()
{
RAMMED=`mount | grep $RD/ | awk '{print $3}'`
if [ -z "${RAMMED}" ]; then
        echo "No directories mounted from the ramdisk";
else
        mount | grep $RD/ | awk '{print $3}'
fi
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum