• Announcements

    • Brian

      Introducing T|I Marketplace/Classifieds!   11/24/16

      After a long wait, Tech|Inferno now has a Marketplace/Classifieds section where all registered (promoted and above) members can participate in selling, trading and seeking out items. This service is free to all members to use as they wish. Currently all ads last for a period of 14 days before they expire for promoted users. Those users belonging to T|I Elite, Contributor, Developer and Moderator have access to 30 day ad periods that are featured   Some easy rules to remember: Do not post multiple ads of the same product. Do not advertise here if you are a retailer or business. You must contact Tech|Inferno for advertising space. Keep ads civil, do not try to lowball members. You may contact them in private via PM if you feel their price is not to your liking. Harassing members will result in an infraction. It is recommended you have Heatware/eBay feedback to establish trading credibility.    Tech|Inferno assumes no liability for any sales posted in the Classified section. Always use common sense when buying/selling with traders and ask for their heatware/ebay feedback!   Enjoy!
StamatisX

RAMDisk and computer performance

14 posts in this topic

A very nice way to boost your computer's performance is by installing an SSD. Even though SSDs are way faster than HDDs, still NANDs used on SSDs and the SATA 2/3 protocol cannot be compared to the speed of a DDR3 RAM.

A solution to this gap is a RAMDisk. With current chipset architectures that allow even laptops to have up to 32GB of RAM, someone who can afford it and wants the maximum performance for the money s/he paid should seriously consider a solution like that.

I was thinking of a scenario with the soon to be released Alienware M18x, that supports up to 32GB of RAM.

Keep 8GB for the OS and dedicate the rest 24GB to the RAMDisk. Inside that space you can allocate the pagefile, assign all the temp files, caches like that used by the web browser (that instead of being written on the disk would now be written much more faster on your RAM) and install programs that you use the most and you need them to run as fast as possible.

You won't have to worry about the wear and tear of your SSD, since at the end of the day all the data will be written in a serial manner to your SSD, you will utilize your RAM in a more efficient way since most of the times it remains unused, the pagefile will remain on your SSD instead of the slower SSD/HDD and will reduce the wear of it.

You can even install an OS in there using VM. That OS would literally fly.

Cons are the cost and the limited size of RAM, plus you need a 64bit version of windows to be able to utilize more than 3GB of RAM, it will as prolong the shut down times since it will have to write everything to your SSD at the end of the day.

So what do you think about it? Do you have any other ideas about maximizing your computer's performance?

Share this post


Link to post
Share on other sites

Have you already worked with a system which used this setup? I'm really curious about whether you can actually fell the difference or not. I heard about this idea a couple of times and I think it's really interesting. However there are also people saying it isn't really worth all the effort because you don't gain enough performance... I'd love to hear from someone who uses this whether it really (noticeably) boosts the system.

BTW, did you check the prices of the 8GB RAM sticks? :D

Share this post


Link to post
Share on other sites

Yeah kinda pricy I know, but if it can really increase the performance that much, it might be worth it, unfortunately I only have 4GB of RAM and I need pretty much all of it, but if I had 8 I would dedicate half of it and install programs in it to see the difference.

Share this post


Link to post
Share on other sites

Yeah, I only have 4GB myself, otherwise I would have tried it already a while ago. I'm really curious whether it works fine.

Share this post


Link to post
Share on other sites

It should work better than fine, ie, let's say you have Linux and installed using vmware on the ramdisk, compiling the kernel would me blazing fast, so would be the whole OS.

Think about it, you would run an entire OS on your RAM...

Share this post


Link to post
Share on other sites

Yes, when running a VM on the RAMdisk it will be incredibly fast... I agree. But I'm wondering whether having the pagefile on the RAMdisk really makes a big difference.

Share this post


Link to post
Share on other sites

About the pagefile, I usually keep it off, unless I plan to play a game like Metro 2033, for some reason if I don't have a pagefile larger than 4GB the game crashes with an error about low memory, while my RAM still has 2GB free. So keeping the pagefile in RAM (given that we have plenty, like the scenario described on my first post) will prevent the wear and tear of an SSD or makes things a lot faster if we have an HDD.

Share this post


Link to post
Share on other sites

All the concept checks out, I tried it actually with my system when it worked I used a 1gb size ram disk to give it a try. It did improve speed to the temp files a lot. I didn't try a page file and as people start to have more ram by default config this should be a good solution for all the uses you posted Stam. There is another thing, you have an option if not using sensitive data to be saved like a pagefile, instead your using it for browser temp files and cookies, if you don't have the ramdisk save it's contents at shutdown you have a automatic way to delete your history and temp files. So a ramdisk can provide better security. Those who bench could keep the executable in a ramdisk and tests with a lot of reads and writes. If I had 32Gb I would do very similar to what you suggested Stam. Your pagefile is basically like a second version of your ram... It contains everything you may need but isn't work putting in your ram yet(according to windows) and if those files when needed were accessed faster then you would see speed improvement in everything. There is a option to clear pagefile every shutdown (in windows) if you pair that with don't save ram disk contents at shutdown, you won't lose more crucial ssd disk space and will see the benefit of a page file on ramdisk. SSD operations per second is shadowed by ram's max operations per second. We need to see some benches of systems with their temp files and page files on ramdisk versus systems without. Then we need to see the program aspect of things like install Vantage or 3DMark2011 and see it's performance versus normal install on SSD and platter disk drives.

Stam, I found the same thing some programs cannot have no page file and I found a 1-2gb minimum or I would have similar errors. That's when I decided the pagefile was crucial and integral. I get better bench scores with 8gb page file with 8gb of ram...

Edited by mw86

Share this post


Link to post
Share on other sites

Pagefiles are needed for 32bit game executables with poor memory management.

The developers have 2 options when it comes to 32bit games:

1: Fit everything into 2GB and manage it properly, using time and effort (or 3Gb if the user has the /3gb environment variable, but thats not reliable)

2: IDGAF it and code poorly, lazily, and quickly and rely on the page file for memory overflow.

I bet you can fucking guess what they choose?

So if you have a 64bit machine with 9999999gb memory, that game exe can only use 2gb. So the devs throw all their extra crap into the pagefile.

If you have your pagefile switched off and the devs do this you will get the "close programs memory too low" error, which is actually bullshit if you check out your task manager. Its windows responding to one program hitting its pitiful 2gb limit.

If it is a 64bit app, you wont have this problem with your pagefile switched off.

So, the best solution if you have more than 8gb ram, is to have a 4gb ramdisk with a 4gb pagefile on it, set size. Then your 32 bit apps will be more than happy. Also, use the /3gb switch on startup for a bit of extra legroom.

-Ash

3 people like this

Share this post


Link to post
Share on other sites

Great post Ash. So when I got bluescreen errors or program crashes with the page file off its because a program or game exceeded it's 2gb memory limit. Cool If I get 8gb - 32 GB of ram I'll throw my pagefile on a ramdisk @ 4gb size.

Share this post


Link to post
Share on other sites

so been using my pagefile in a 4gb ramdisk for maybe a week... the OS is what I notice a difference in... seems like moving through windows os interface in this config is much snappier. any suggestions on a test to see real world benefits guys?

Share this post


Link to post
Share on other sites

bump guys any thoughts i went to 1gb ramdisk with 1gb swap files to see if better... shutdown and start up speed improved since ramdisk backup at shutdown has less to save....

Share this post


Link to post
Share on other sites

As long as you don't see any weird behavior with programs, like sudden crashes or BSOD then you can leave it like that. It means that what you use doesn't require anything more than that.

Share this post


Link to post
Share on other sites

Sweet thanks Stamatis... This on standard hard drive still.... I will use this on SSD no doubt. As I will be raiding mine although it disables trim. Raid says do not place page file on raid partition... So I won't I'll place in ramdisk.

plus saves ssd from many writes... This way only write from page file will be at each shutdown then as ramdisk backup. Need help though sometimes I see total page file size is larger then I had set and is currently set in system properties. I am reading max from hwinfos latest version. Mumak added its reading to sensors window which is so cool mumak!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Similar Content

    • By Granty
      Hi guys. I have had my egpu setup and running fine for the past year or so on my mbp (mid 2012) which has a hdd drive.
      I now want to improve the gaming performance, so I've bought an ssd.
       
      I manage to get through all the steps in eGPU Setup 1.2 but when i go through the bootloader, it says at the very end "No bootable device -- insert boot disk and press any key".
       
      I'm guessing it is to do with my ssd being in the optical drive bay location (i assume this is hd1) and the original hdd (hd0) being disconnected, so windows can't see it when in bootloader.
       
      I think I need to edit the config file for the chainloader, so the bootloader reads the ssd but what exactly do i need to change? 
       
      I tried changing the map section (line 55):
      map --harddrives=1
      if "%DRV%"=="C"
       
      map (%FIRSTHDD%) (hd0)
       
      Changing the (hd0) to (hd1) put the bootloader in a loop!? So I am not sure what to try next...
       
      Any help is greatly appreciated!
       
      Thanks
    • By Derpediderp
      Hey guys!

      I am currently working on an idea to start a brand which would be specialized in All in One PC Barebones.
      So I wanted to ask you if there is any interest for such a thing?
      In detail:

      The focus is on a configurable system, like a desktop case, but this one here has already a build in mITX mainboard, monitor, speakers and everything is already cabled.

      The power supply is external to save space and especially to keep the AIO as narrow as possible.
      The lid on the back can be pushed open after only 2 screws have been removed, so it is very easy to maintain.
      The technical data in a short overview:

      Monitor: 27 "Full-HD, AH-IPS, Frameless Design

      Mainboard:
      mITX, modified with a 90 degree rotated PCIe slot for the graphics card H110 chipset 2x RAM slots DDR4-SODIMM 1x mini PCIe slot 1x MSata Slot 1x 2.5 inch Sata connector Graphics card: Power over PCIe lane (NVIDIA GTX 1050TI, Radeon RX460, etc.) , with additional PSU up to Zotac NVIDIA GTX 1080 Mini

      Power supply: External with 3 pin safety plug and 180W power , additional 250W PSU for Graphics cards with 6-8 pin Connector.

      Connections:
      2xUSB 3.0 RJ45 connector 4xUSB 2.0 SD card reader 1x HDMI-IN (for graphics card routing) 1x HDMI OUT 1x3.5mm stereo jack 1x3.5mm microphone jack Stereo speakers (believe it or not, they sound decent)  
      Here are some Pics from my Testsample:

       
      I would really appreciate your feedback, thanks in advance!
       
    • By szumial
      Hi!
      I have recently a power shortage problem - the battery in my laptop ran out of juice and it suddenly shut down. This resulted in a broken SSD drive, which actually died a week later (not detected by any system or adapter). The laptop also had another SSD msata drive installed which was ok and I could see the data on it when booting into linux from pendrive. I then got a new drive and went for a completely new system in RAID 1 config for backup - changed legacy to UEFI mode in BIOS, removed the mSATA before in case I got something wrong and the data was erased. After installing Windows to the RAID volume I plugged the mSATA SSD into the mobo again and it is no longer visible for both BIOS and Windows. What could have gone wrong? I assume these possibilities: the motherboard went wrong or the drive got broken - question is "HOW"?
       
      I resorted to google straightaway and I've found several tips:
      - update the BIOS (did that, and nothing changed)
      - change RAID/AHCI/ATA modes (still nothing)
      - reset the RAID, install new OS and drivers (still not showing the drive)
      - complete a "power cycle" for SSDs, found on Crucial's forums (is that even a thing?)
       
      I need to recover the data from this mSATA drive - how do I do that?
       
      The system I'm using:
      Dell M6700 with i7 3940XM
      16GBs of RAM
      2x ADATA SSD in a RAID array
      1x Samsung PM851a mSATA - the one I am trying to revive
    • By szumial
      Hi!
      I've recently got myself a used Dell M6700 and since I have some parts laying around I thought it was a good idea to play with it a little. All mods have gone good so far and I am down to the configuration for best performance and data safety. This thread is about configuring hard drives so that they give me reliability in case of emergency.
       
      My configuration is:
      M6700, i7 3940XM, GTX880m, 16GB RAM, Windows 10 x64 Anniversary Edition
      1x ADATA DP910 SSD 1TB (main storage)
      1x Samsung PM 851a SSD mSATA 1TB (secondary storage)
      1x Seagate ST1000LM024 1TB (backup drive)
       
      How do I use the PC?
      I use the main storage for OS (partition 1 with ~300 GB space) and programs (partition 2, remaining space), which are mostly music production tools, video and graphic design tools and some games from time to time. The secondary storage is currently used as a place for downloads and data that I don't use super-frequently, such as old photos, old music projects, etc. The HDD drive is in a separate bay and I can plug it in/out anytime. Currently empty and waiting for further actions.
       
      What do I need?
      I have experienced different drive failures in the past and am aware that nothing lasts forever. I am super nervous about the data I store on my main drive as sometimes I need to carry the laptop with me to play a gig or work somewhere away from home. In these situations I need to be sure nothing happens to the PC or that I have an easy backup. What I want to achieve is a setup that works like this: main drive working most of the time, secondary storage for less important data and a backup drive that'd essentially be a clone of the main drive - if the ADATA fails I wish I could switch the boot sequence in BIOS options to the backup drive and make the PC work again with the same OS, same settings and most importantly, very quickly after the failure.
       
      Now, I know that my M6700 comes with RAID configuration, but for now I am using AHCI setup for the three drives. First question is: is the RAID controller of my laptop a hardware one or is it a software option? I don't want to use anything that would slow down the CPU. As far as I know - RAID 1 (never used it before) is something similar to what I want - I believe it clones the drive (does it also clone MBR?) sector by sector. Would it work as I described above? If yes then do I need to reinstall Windows again to change from AHCI to RAID? Or maybe after the change a FIXMBR method would be enough to get it going again?
       
      Windows 10 comes with several backup options: File History, System Image Backup and the regular Backup. To my knowledge, none of these options are what I need - a quick way to repair my laptop if the main drive stops working. Yes, I could probably restore my data from these backups, but no, I won't be able to boot the PC in 5 minutes after the failure, am I right?
       
      Would it be better to just purchase some backup software and set it to automatically clone my drive from time to time? Let me know what you think and if you have any suggestions, feel free to leave a comment  
    • By angelo1987
      Hi i need help! i have got an asus t200ta-cp018h and this is the board where is the slot for the wifi card.

      i would like mount an ssd in the wifi card slot. is it possible for you? Is this port pci-e or pci-s/sata combo?
      I need a Kingspec SSD Mini PCI-E IDE/PATA or a Kringspec mSATA Half MINI PCI-E MLC SSD?
      Could you help me?