Find the answer to your Linux question:
Results 1 to 7 of 7
Ok, i got my mandrake 9.0 working perfectly for months now. But now i want to look more into boosting performance. I really want to know how to make a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Posts
    1

    How to create ram-drive in linux


    Ok, i got my mandrake 9.0 working perfectly for months now. But now i want to look more into boosting performance. I really want to know how to make a ram-drive in linux as i always do in windows.

    Thanks a lots,

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Check /proc/filesystems to see if tmpfs is present. It usually is by default on many new distributions. If it is, you need just mount a tmpfs anywhere that you want a ramdisk. (Like "mount -t tmpfs none /mnt/ramdisk").

  3. #3
    Linux Newbie
    Join Date
    Feb 2003
    Location
    Swansea (UK)
    Posts
    221
    what exactly does a RAMDrive do ?

    Edit: no need to answer, i found this:

    RAM disk.. Refers to RAM that has been configured to simulate a disk drive. You can access files on a RAM disk as you would access files on a real disk. RAM disks, however, are approximately a thousand times faster than hard disk drives. They are particularly useful, therefore, for applications that require frequent disk accesses.

    Taken from: http://webopedia.com/

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    However, in Linux you need them _very_ seldomly since the kernel does so good caching of normal HDDs anyway.

  5. #5
    Just Joined!
    Join Date
    Feb 2003
    Posts
    12
    boost performance..

    - for internet purposes...
    - install squid..

    - as a system..
    - remove the unwanted/not in-used services running at startup
    - re-compile kernel for optimum performance if u can...


    hopes this helps!

    ~noelt.

  6. #6
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    You can use hdparm to tweek hd for better performance.

  7. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    And not least, if you can find a kernel driver for your chipset, USE IT! For me, it sped up my IDE throughput with over an order of magnitude!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •