Personal computing discussed

Moderators: renee, Dposcorp

 
Jigar
Maximum Gerbil
Topic Author
Posts: 4936
Joined: Tue Mar 07, 2006 4:00 pm
Contact:

Z Ram (RAM Drive) anyone using it ?

Tue Jun 10, 2014 4:35 am

7 years back i was introduced to Z Ram concept i read in some thread discussion at TR.

I always wanted to try it, but due to the ZRAM products high price in India, it remained in my wishlist.

I recently upgraded my system and was able to install 12GB RAM at a very low price.
5 days back while updating my Graphic card driver on AMD's support page, i came across AMD's ZRAM software.
I installed the free version of ZRAM software and set up 4 GB drive dedicated to Z RAM - moved Mozilla, Chrome, Winamp & VLC into that drive and WOW - this apps starts at blazing speed, feels absolute smooth while operating. (Not sure if it is because of Z RAM but my Peacekeeper score for chrome is 6200)

I don't have SSD, so i don't know what's its speed like, but i can still say with full confidence, SSD is no match against ZRAM.

I want to know usecases of ZRam that gerbils at TR might be using it for. Since i have a 4GB Zram, i can't install games in it, but can you suggest what else should i install in that drive, so that my daily PC usage is further improved ?

EDIT: For people who are not aware about ZRAM or RAM Drive - http://en.wikipedia.org/wiki/RAM_disk
Last edited by Jigar on Wed Jun 11, 2014 4:22 am, edited 3 times in total.
Image
 
geekl33tgamer
Graphmaster Gerbil
Posts: 1023
Joined: Tue Aug 25, 2009 7:25 pm
Location: England
Contact:

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 4:58 am

Maybe move the PageFile to that area - Other than that, I guess any program that will benefit from fast random access read and write?

(I don't use it. I had to Google what Z RAM was, as I've never seen it mentioned anywhere before.)
Mega Beast - Intel i7 4790K | Gigabyte Z97X-UD3H-BK | 32GB DDR3 | SLI GTX 1070 | Samsung 850 Evo 1TB
Mini Beast - Intel C2E QX9770 | Gigabyte X48T-DQ6 | 16GB DDR3 | KFA2 LP GTX 750Ti | Seagate 2TB SSHD
 
Jigar
Maximum Gerbil
Topic Author
Posts: 4936
Joined: Tue Mar 07, 2006 4:00 pm
Contact:

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 5:02 am

geekl33tgamer wrote:
Maybe move the PageFile to that area - Other than that, I guess any program that will benefit from fast random access read and write?

(I don't use it. I had to Google what Z RAM was, as I've never seen it mentioned anywhere before.)


That sounds like a great idea - pagefile in ZRAM should make the overall system very fast. Thanks for the tip.
Image
 
geekl33tgamer
Graphmaster Gerbil
Posts: 1023
Joined: Tue Aug 25, 2009 7:25 pm
Location: England
Contact:

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 5:11 am

Jigar wrote:
That sounds like a great idea - pagefile in ZRAM should make the overall system very fast. Thanks for the tip.


Np. A few years ago when I was using a mechanical HDD and a small 64GB SSD together, I bumped Windows and the PageFile off to the SSD and left everything else on the platters.

Performance speedup was immediate and noticeable, and my motherboard is hampered by a lowly 3GB/Sec SATA interface to boot. You should be laughing... :wink:
Mega Beast - Intel i7 4790K | Gigabyte Z97X-UD3H-BK | 32GB DDR3 | SLI GTX 1070 | Samsung 850 Evo 1TB
Mini Beast - Intel C2E QX9770 | Gigabyte X48T-DQ6 | 16GB DDR3 | KFA2 LP GTX 750Ti | Seagate 2TB SSHD
 
LostCat
Minister of Gerbil Affairs
Posts: 2107
Joined: Thu Aug 26, 2004 6:18 am
Location: Earth

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 5:41 am

I'm not sure what ZRam is in the context of this discussion, exactly. Is that what they're calling their RAMdisk software over there?

Pagefile on a RAMdisk defeats the purpose of a pagefile. Things are paged out to the pagefile when they're not needed, to relieve memory pressure. So you're basically just making the memory subsystem work harder than it does normally.
Meow.
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 5:56 am

Savyg wrote:
I'm not sure what ZRam is in the context of this discussion, exactly. Is that what they're calling their RAMdisk software over there?

Pagefile on a RAMdisk defeats the purpose of a pagefile. Things are paged out to the pagefile when they're not needed, to relieve memory pressure. So you're basically just making the memory subsystem work harder than it does normally.

It can make sense if you're still running a 32-bit OS on a motherboard that can take more than 4GB of RAM. But that's becoming a less common use case as everyone migrates to 64-bit OSes.
Nostalgia isn't what it used to be.
 
Jigar
Maximum Gerbil
Topic Author
Posts: 4936
Joined: Tue Mar 07, 2006 4:00 pm
Contact:

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 6:55 am

Savyg wrote:
Things are paged out to the pagefile when they're not needed, to relieve memory pressure.



Exactly and we also know while accessing pagefile from HDD, PC does feel slow. if i fool the windows into paging it in the RAM itself i should see an overall system boost as my system sees 8 GB RAM anyway (Actually it is 12GB but 4 GB is ZRAM)

Savyg wrote:
So you're basically just making the memory subsystem work harder than it does normally.


Atleast its worth trying, let me get back to you after experimenting this idea for few days.
Image
 
ible
Gerbil In Training
Posts: 1
Joined: Tue Jun 10, 2014 7:42 am

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 7:45 am

You can get the same results with less overhead by disabling the pagefile feature completely.

RAMdisks are used when you want faster access to data that is normally not stored in RAM.

In your case the data is being stored in RAM then moved onto a disk into a pagefile. Since the data is already available in RAM there is no need to use a RAMdisk. Rather, you need to tell your OS to Not move the data out of RAM and onto a drive.
 
vargis14
Gerbil Jedi
Posts: 1900
Joined: Fri Aug 20, 2010 6:03 pm
Location: philly suburbs

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 7:53 am

Though I have never tried a ramdisk I have read that it is way faster then a SSD. I mean a SATA3 connection to the fastest SSD is only a bit over 500mbps. A RAMDISK on the other hand is going to give you at least 10-20 times that speed considering since Sandy Bridge memory bandwidth in dual channel mode is averaging around 20 GB a second. I figure a RAMDISK configuration will only use half that speed @ around 10gb a second since it is probably writing to only one channel of memory. But considering I do not actually know how they work exactly you might get dual channel speeds. So any Gerbil can feel free to correct me and tell me I do not know what I am talking about :) but I think I have the general idea correct but I am far from positive.
2600k@4848mhz @1.4v CM Nepton40XL 16gb Ram 2x EVGA GTX770 4gb Classified cards in SLI@1280mhz Stock boost on a GAP67-UD4-B3, SBlaster Z powered by TX-850 PSU pushing a 34" LG 21/9 3440-1440 IPS panel. Pieced together 2.1 sound system
 
Jigar
Maximum Gerbil
Topic Author
Posts: 4936
Joined: Tue Mar 07, 2006 4:00 pm
Contact:

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 8:03 am

vargis14 wrote:
Though I have never tried a ramdisk I have read that it is way faster then a SSD. I mean a SATA3 connection to the fastest SSD is only a bit over 500mbps. A RAMDISK on the other hand is going to give you at least 10-20 times that speed considering since Sandy Bridge memory bandwidth in dual channel mode is averaging around 20 GB a second. I figure a RAMDISK configuration will only use half that speed @ around 10gb a second since it is probably writing to only one channel of memory. But considering I do not actually know how they work exactly you might get dual channel speeds. So any Gerbil can feel free to correct me and tell me I do not know what I am talking about :) but I think I have the general idea correct but I am far from positive.


Ram disk is Raw data power - i am quiet impressed by the performance. If my experiment goes well, i might purchase 32 GB RAM out of which 16GB would be ZRAM.
Image
 
just brew it!
Administrator
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 8:27 am

Just run a 64-bit OS and let the OS manage the RAM.
Nostalgia isn't what it used to be.
 
keltor
Gerbil First Class
Posts: 180
Joined: Thu May 10, 2012 4:29 pm

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 9:04 am

There are some edge case performance situations where Windows does a really terrible job with swapping, and so in those cases it can make sense. We have a Java compiler farm and we use StawWind's RamDisk product to eek out about 25-200% better performance.
 
Hz so good
Gerbil Elite
Posts: 768
Joined: Wed Dec 04, 2013 5:08 pm

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 4:02 pm

I'm really confused... I thought Z-RAM was an abandoned hardware implementation. A quick Google search shows a linux zram module, and AMD's RAMdisk (which is just a re-brand of Dataram's software).
 
LostCat
Minister of Gerbil Affairs
Posts: 2107
Joined: Thu Aug 26, 2004 6:18 am
Location: Earth

Re: Z Ram anyone using it ?

Tue Jun 10, 2014 4:22 pm

keltor wrote:
There are some edge case performance situations where Windows does a really terrible job with swapping, and so in those cases it can make sense. We have a Java compiler farm and we use StawWind's RamDisk product to eek out about 25-200% better performance.

Compilers should be capable of managing memory properly themselves I'd think, but yes there are edge cases where this would be useful.

The way he's talking about using it is harmful to the performance of all non paging apps, so I don't see the point.
Meow.
 
Jigar
Maximum Gerbil
Topic Author
Posts: 4936
Joined: Tue Mar 07, 2006 4:00 pm
Contact:

Re: Z Ram anyone using it ?

Wed Jun 11, 2014 12:36 am

just brew it! wrote:
Just run a 64-bit OS and let the OS manage the RAM.


Its just an experiment to see if this idea does anything good. :)

Savyg wrote:
keltor wrote:
There are some edge case performance situations where Windows does a really terrible job with swapping, and so in those cases it can make sense. We have a Java compiler farm and we use StawWind's RamDisk product to eek out about 25-200% better performance.

Compilers should be capable of managing memory properly themselves I'd think, but yes there are edge cases where this would be useful.

The way he's talking about using it is harmful to the performance of all non paging apps, so I don't see the point.


OK, i didn't touch the existing Pagefile which was 12GB system managed (Recommended was 18 by windows) but created 2.5 GB Pagefile in the Z RAM - Initially there was nothing significant but after 3 hours of normal gaming and usage. Below are my observation.

1) After system restart - it feels more responsive.
2) Overall system feels smooth - not all, but some applications are now starting fast.
3) Its too early to give the verdict, but it does feel like creating a bit of a pagefile in ZRAM does help the system.

I am not sure of disabling the pagefile which is on my HDD currently, but i will try it later, may be after a week of testing the current settings.
Image

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: On