RAMDISK - How large to use it as boot


Recommended Posts

I have a problem.  When I get bored with my computer - I want to change it.

I just built this monster in December.  My boot drive is the 500GB Samsung 950 Pro

I want to know how large of a RAMDISK do I need to put WIndows 10 on it.

I dont know if you have to config for pagefiles and such , how large a plain jane win 10 image takes, etc.

I really just want to see if it makes a difference, therefore is it worth it.

It may not (probably not) be a permanent situation.  I am planning on backing up everything, doing it, then... probably going back to the way it was - I just dont know how much RAM and what prog to use to do it.

My mobo has RAMDISK built in - but only allows for 4GB, so I would have to use a paid solution - but they're cheap - so that isnt an issue.


Thanks


(I get like this when there isnt a game out that I want to play, or if the hardware in the computer doesnt make me all warm and fuzzy anymore)   I do things like this to keep from constantly throwing money at a money pit.

 

Link to comment
https://www.neowin.net/forum/topic/1295038-ramdisk-how-large-to-use-it-as-boot/
Share on other sites

you can't put your OS on RamDisk.

its because, RamdDisk is software not OS layer, it works on top of OS.

But even if you succeed by some tweaks to Install OS on RamDisk, it still required caching on Disk, otherwise everything get lost when PC turn off.

IMO, not a worthy try.

  On 16/04/2016 at 07:42, Xahid said:

you can't put your OS on RamDisk.

its because, RamdDisk is software not OS layer, it works on top of OS.

But even if you succeed by some tweaks to Install OS on RamDisk, it still required caching on Disk, otherwise everything get lost when PC turn off.

IMO, not a worthy try.

Expand  

Yeah - did some looking - not gonna happen.  Too much tweaking

Thanks

(Y)

 

You didn't mention how much RAM you have but if you have a lot, Windows is already doing it for you behind the scenes.

 

The Samsung 950 Pro is insane fast so beating that becomes a non-trivial task.

 

Windows 10 will use an agressive percentage of RAM to cache stuff which makes a RAM disk to have questionable value.

 

Everything will take a certain amount of time even if you had infinite speed I/O and nothing obvious comes to mind in this situation. I suspect that two Samsung 950 Pros in RAID-0 will yield minimal real world gains. To get an order of magnitude past that would need battery backed RAM hardware emulating a M.2

 

Another option might be a hardware based controller like LSI feeding a large SATA SSD Array.

 

A giant water cooler to double your CPU speed might be the only option left to get a thrill ride...

 

  • Like 2

the only thing that I consider proper use of RAMDISK boot is when it was used by BOOT from LAN terminal.

On (re-)boot the terminal will fetch OS partition from server using the LAN and put that on firmwired RAM disk.

Its actually ideal for public terminal and its also cut some initial cost that usually associated with internal HDD/SSD storages.

But i heard something like that before current secureboot thingy, is such thing even compliant with secureboot scheme?

If your looking for a rush, I would recommend trying out PCIe based SSDs.  You can pick up a Samsung PCIe SSD and get 1600MB/1350MB (1.6GB/1.35GB or 12,800Mb/10,800Mb) Read/Write  with PCI Express 2 and 2150MB/1550MB (2.15GB/1.55GB or 17200Mb/12400Mb) Read/Write with PCI Express 3 with just one, if you add more...

Good ol' RAMDisk drives.  Remember seeing these a long time ago ... and thinking "wow" ... and then my jaw dropped when I saw the price.

 

 

hyperdrive-4.jpg

 

I think these were sold in the mid 2000's.  The DRAM would still be powered when the PC was turned off so not to lose any data.  Still severely limited by the interface though...with the primary advantage of practically having zero access/seek time.  It had various models ... I believe 8, 16 and 32GB.  The 8GB was ~$2500 and the 32GB costing ~$3800 ... without memory modules ... which back then was obviously more expensive.  I think you could get 32GB memory for around $4000'ish.  In other words ... buying the top of the line Hyperdrive 4 topped out with 32GB of memory would cost almost $8000.  You can now get a 32GB SSD, which has better performance for around 40 bucks.  Man...have times changed.

 

 

Gigabyte had a similar product...though it was PCI and only supported 4GB...but was "only" a couple hundred bucks without memory as well.

 

1712.jpg

 

Anyway...I haven't seen any products similar to these recently.  SSD's (especially the newer NVMe) have made them ... for the most part ... impractical.  

  • Like 2
  On 16/04/2016 at 08:19, Ravensky said:

Get another 950 500Gb and RAID 0 them... so fast!!!

Expand  

Only have 1 M.2 slot on mobo

 

  On 16/04/2016 at 14:00, ITOps said:

If your looking for a rush, I would recommend trying out PCIe based SSDs.  You can pick up a Samsung PCIe SSD and get 1600MB/1350MB (1.6GB/1.35GB or 12,800Mb/10,800Mb) Read/Write  with PCI Express 2 and 2150MB/1550MB (2.15GB/1.55GB or 17200Mb/12400Mb) Read/Write with PCI Express 3 with just one, if you add more...

Expand  

Right now - I dont see any faster than my 950 Pro in real world terms - unless you go for something extravagant and server-based.

  On 16/04/2016 at 12:41, DevTech said:

You didn't mention how much RAM you have but if you have a lot, Windows is already doing it for you behind the scenes.

 

The Samsung 950 Pro is insane fast so beating that becomes a non-trivial task.

 

Windows 10 will use an agressive percentage of RAM to cache stuff which makes a RAM disk to have questionable value.

 

Everything will take a certain amount of time even if you had infinite speed I/O and nothing obvious comes to mind in this situation. I suspect that two Samsung 950 Pros in RAID-0 will yield minimal real world gains. To get an order of magnitude past that would need battery backed RAM hardware emulating a M.2

 

Another option might be a hardware based controller like LSI feeding a large SATA SSD Array.

 

A giant water cooler to double your CPU speed might be the only option left to get a thrill ride...

 

Expand  

I am running two 950's and in RAID-0 and it is a LOT faster than one...

  On 16/04/2016 at 15:58, Ravensky said:

I am running two 950's and in RAID-0 and it is a LOT faster than one...

Expand  

Obviously it would benchmark faster, but I was very skeptical that day to day usage would be impacted much simply because a single 950 is so fast.

 

So what stuff do you find perceptually much different with two 950's over a single 950?

 

  On 16/04/2016 at 15:03, T3X4S said:

Only have 1 M.2 slot on mobo

 

Right now - I dont see any faster than my 950 Pro in real world terms - unless you go for something extravagant and server-based.

Expand  

Yeah, I scanned through the specs of all the PCIe cards on Newegg and couldn't see anything faster than a 950. In fact most of them were slower or similar.

 

I suppose if Ravensky can provide detail on his dual-950 experience, you could consider a dual PCIe card addition if slots available.

 

Unfortunately anything you could do is outside the "best bang for the buck" territory.

 

If you have a lot of RAM there are registry settings to muck with how Windows manages the RAM cache and also turn off paging file (which screws up bsod dumps) or move page file to that mobo 4 gig ram disk you mentioned.

 

Giant water radiator keeps coming back into my head...

  On 16/04/2016 at 14:47, adrynalyne said:

Or get one PCIe SSD and be faster. 

Expand  

Or not.

 

I so so so much would like to have a 950.

 

http://www.newegg.ca/Product/Product.aspx?Item=N82E16820147467

 

It is essentially a PCIe SSD in just a different form factor.

 

Max Sequential Read

Up to 2500 MBps

Max Sequential Write

Up to 1500 MBps

4KB Random Read

Up to 300,000 IOPS (4KB, QD32)
Up to 12,000 IOPS (4KB, QD1)

4KB Random Write

Up to 110,000 IOPS (4KB, QD32)
Up to 43,000 IOPS (4KB, QD1)

 

http://www.newegg.ca/Product/ProductList.aspx?Submit=Property&Subcategory=636&N=100011693%20600521290%20600038471%20600038466%20600038467%20600537559%20600038468&IsNodeId=1&IsPowerSearch=1cm_sp=CAT-SSD_3-_-VisNav-_-Add-In-Card

 

Nothing there seems faster

 

http://www.newegg.ca/Product/Product.aspx?Item=N82E16820228114

 

That one has PCIe x 8 but since the flash RAM is a bit slower is probably pointless.

 

Some sort of PCIe x 8 using enterprise SLC Flash RAM might be faster if such a thing exists...

 

  On 16/04/2016 at 20:23, DevTech said:

Obviously it would benchmark faster, but I was very skeptical that day to day usage would be impacted much simply because a single 950 is so fast.

 

So what stuff do you find perceptually much different with two 950's over a single 950?

 

Expand  

saving large files, game loading, boot times, all the heavy stuff is WAY faster...I also edit LARGE files in Photoshop and that kind of stuff, its night and day for that kind of application...

  On 16/04/2016 at 20:45, DevTech said:

Or not.

 

I so so so much would like to have a 950.

 

http://www.newegg.ca/Product/Product.aspx?Item=N82E16820147467

 

It is essentially a PCIe SSD in just a different form factor.

 

Max Sequential Read

Up to 2500 MBps

Max Sequential Write

Up to 1500 MBps

4KB Random Read

Up to 300,000 IOPS (4KB, QD32)
Up to 12,000 IOPS (4KB, QD1)

4KB Random Write

Up to 110,000 IOPS (4KB, QD32)
Up to 43,000 IOPS (4KB, QD1)

 

http://www.newegg.ca/Product/ProductList.aspx?Submit=Property&Subcategory=636&N=100011693%20600521290%20600038471%20600038466%20600038467%20600537559%20600038468&IsNodeId=1&IsPowerSearch=1cm_sp=CAT-SSD_3-_-VisNav-_-Add-In-Card

 

Nothing there seems faster

 

http://www.newegg.ca/Product/Product.aspx?Item=N82E16820228114

 

That one has PCIe x 8 but since the flash RAM is a bit slower is probably pointless.

 

Some sort of PCIe x 8 using enterprise SLC Flash RAM might be faster if such a thing exists...

 

Expand  

I keep forgetting the 950 Pro is PCIe. 

  On 16/04/2016 at 21:53, Ravensky said:

saving large files, game loading, boot times, all the heavy stuff is WAY faster...I also edit LARGE files in Photoshop and that kind of stuff, its night and day for that kind of application...

Expand  

did you actualy do all of those things on a single 950 Pro? just want to confirm that for the record since that description you have written would also seem to be describing a single 950 pro compared to anything else.

 

So, you seem to be implying the followinf progression:

 

1. 10,000 rpm hard drive - nice improvement over any hard drive

 

2. Current gen SATA SSD such as Samsung 850 - giant improvement over 10,000 rpm hard drive

 

3. M.2 Samsung 950 Pro - giant improvement over Samsung 850

 

4. Two M.2 Samsung 950 Pro in RAID 0 - giant improvement over single Samsung 950 Pro

 

  On 16/04/2016 at 22:39, DevTech said:

did you actualy do all of those things on a single 950 Pro? just want to confirm that for the record since that description you have written would also seem to be describing a single 950 pro compared to anything else.

 

So, you seem to be implying the followinf progression:

 

1. 10,000 rpm hard drive - nice improvement over any hard drive

 

2. Current gen SATA SSD such as Samsung 850 - giant improvement over 10,000 rpm hard drive

 

3. M.2 Samsung 950 Pro - giant improvement over Samsung 850

 

4. Two M.2 Samsung 950 Pro in RAID 0 - giant improvement over single Samsung 950 Pro

 

Expand  

Why do you doubt him? I would do those things. In fact, I have entire source code repos  running over 50GB in size on my SSD. I also have several databases running locally from it as well. I can always use more throughput. 

  On 16/04/2016 at 22:53, adrynalyne said:

Why do you doubt him? I would do those things. In fact, I have entire source code repos  running over 50GB in size on my SSD. I also have several databases running locally from it as well. I can always use more throughput. 

Expand  

Because a single 950 Pro is so fast. I am not doubting him, but I want to make sure I understand what he has communicated.

 

In RAID-0,  two 950 Pros would be 5,000 MBytes Read and 3,000 MBytes write which has the potential to challenge various software systems that were not tested in such a configuration.

 

Like the X-Files movie "I Want to Believe" and so in a case of a single source of anecdotal evidence, more detail helps a lot.

 

Also, two M.2 slots are practical for a laptop which seems rather exciting with two 950 Pros...

  On 16/04/2016 at 22:39, DevTech said:

did you actualy do all of those things on a single 950 Pro? just want to confirm that for the record since that description you have written would also seem to be describing a single 950 pro compared to anything else.

 

So, you seem to be implying the followinf progression:

 

1. 10,000 rpm hard drive - nice improvement over any hard drive

 

2. Current gen SATA SSD such as Samsung 850 - giant improvement over 10,000 rpm hard drive

 

3. M.2 Samsung 950 Pro - giant improvement over Samsung 850

 

4. Two M.2 Samsung 950 Pro in RAID 0 - giant improvement over single Samsung 950 Pro

 

Expand  

Yes actually I have tested both situations, 950 pro single and 2 in RAID 0, and RAID 0 is MUCH faster...I am not going to say it again =)

  On 17/04/2016 at 00:15, Ravensky said:

Yes actually I have tested both situations, 950 pro single and 2 in RAID 0, and RAID 0 is MUCH faster...I am not going to say it again =)

Expand  

Thanks for the update.

 

But now I am stuck in the movie "Exorcist" where "The Power of Speed Compels Thee"

 

Your experience compels me to somehow find an extra $1,000 from somewhere...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Because Win7 was beautiful, much faster and more functional than XP. Win10 (glossing over 8 as many do) was slightly faster in some cases, more functional in some cases, but some people such as myself hated how it looked and decided it wasn't worth the upgrade. Some people liked (or were ok with) the look, and thus it is a good upgrade. Win11 is like 10, but is less functional between key features being removed and constant bugs/crashes either due to updates, or just things that were never patched. It literally has nothing going for it, and I use it every day at work so I'm quite familiar with it.
    • I switched my mom from Chrome to Firefox and she had a serious meltdown. She even managed to figure out how to reinstall Chrome, which really surprised me. What finally got her to switch was Chrome no longer being supported on Win7 and me putting a Chrome skin on FF, and setting it up identically.
    • Feels very much like most other gnome based Linux distros. There is minimal amounts that are influenced by Windows 11, maybe just enough to make people who are switching comfortable enough with the idea. As far as I can tell its mainly just turning the 'taskbar' panel as a 100% sized static panel, rather than the default dynamic sized. Turning it from the Mac OS Dock into the Windows taskbar. The Arc Menu - that I assume you're taking not with from the screenshots, is indeed the Windows 11 style one, but it has lots of other options too, from the more traditional gnome, Windows 7 etc. Still free to install what ever Window Manager you want once you're comfortable enough with Linux though.
    • Wow, and here I'm still happily using 1080p...
    • Added an extra filter to Fail2Ban.  I thought about just adding this to my existing aibots filter, but for the time being I'm keeping it separate because it's "possible" real humans may trigger this one so as long as it doesn't start filling my inbox I'd like to get notified about these so I can adjust it as necessary in the future. I'm still holding close to 10k unique IP addresses at any given time that have been banned via the "aibots" filter that looks for certain user agent strings of known AI scrapers.  However, I've been getting an increasing amount of traffic trying to scrape the site with sanitized user agent strings that just look like normal web browsers, however... Because I enabled authentication I can now see that they're racking up lots of 401 (unauthorized) responses in the Apache "access.log" file, but they're not triggering anything in the Apache "error.log" file, which is where failed attempts to log in would appear.  Basically, if an actual human tried to log in with an invalid username and password they don't immediately go into "access.log" as a 401, they go into "error.log" with a status message such as "user FOO not found".  The only way to trigger a 401 simply by visiting the site, as far as I'm aware, is to hit "Cancel" on the login prompt, or otherwise try to access files directly without properly authenticating. So, given the fact I'm getting a few thousand 401 errors a day from sanitized user agent strings that don't show up in "error.log", which means no attempt at logging in properly, I added another jail/filter set to Fail2Ban to immediately ban anybody who triggers a 401.  This feels a bit nuclear so I may need to adjust it in the future, but as far as I'm aware so far no real humans are being inconvenienced so all I'm doing is wasting the time of some AI scraper bots. Example log entry 61.170.149.70 - - [25/Jun/2025:20:01:04 -0400] "GET /content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration HTTP/1.1" 401 3287 "https://kiwix.marcusadams.me/content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" Contents of /etc/fail2ban/filter.d/apache-401repeat.conf #Fail2Ban filter for bots and scrapers that try to access #files directly without entering credentials for apache2-auth #and therefore trigger lots of 401 errors without triggering #the apache-auth jail. # #Marcus Dean Adams [Definition] failregex = ^<HOST> .+\" 401 \d+ .*$ Contents of /etc/fail2ban/jail.d/apache-401repeat.local [apache-401repeat] enabled = true ignoreip = 10.1.1.1 port = 80,443 filter = apache-401repeat maxretry = 1 bantime = 672h findtime = 10m logpath = /var/log/apache2/access.log Oh, and all this traffic is AFTER I explicitly banned Alibaba's IP ranges that were absolutely blowing me up day and night. Observation; two of the IP addresses that have triggered this jail in the 30 or so minutes since I turned it on were owned by Microsoft.  Wonder if they're doing their own AI scraping/probing, or if that's just an Azure VM owned by somebody else.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      552
    2. 2
      ATLien_0
      208
    3. 3
      +FloatingFatMan
      175
    4. 4
      Michael Scrip
      151
    5. 5
      Som
      138
  • Tell a friend

    Love Neowin? Tell a friend!