RAM drive

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Nordlandia
Posts: 2828
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

RAM drive

Post by Nordlandia »

Are there any other cons than limited hash table for engines for analysis if tablebases are stored on ram disk.

As we can see, it's about 9-10 times faster than regular consumer SSD available at this time.

RAM drives are volatile memory (require power). This does not worry me because i can easily re-copy egtb from another back-up HDD if power shut down.

Image
Dann Corbit
Posts: 12815
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: RAM drive

Post by Dann Corbit »

Nordlandia wrote:Are there any other cons than limited hash table for engines for analysis if tablebases are stored on ram disk.

As we can see, it's about 9-10 times faster than regular consumer SSD available at this time.

RAM drives are volatile memory (require power). This does not worry me because i can easily re-copy egtb from another back-up HDD if power shut down.

Image
If the files will fit on the RAM drive, then they will fit completely into memory.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
syzygy
Posts: 5844
Joined: Tue Feb 28, 2012 11:56 pm

Re: RAM drive

Post by syzygy »

Dann Corbit wrote:If the files will fit on the RAM drive, then they will fit completely into memory.
Yup.

Why RAM drives don't make sense here has been explained many times here, and probably 9 out of 10 times in response to this very same question from the very same OP.
User avatar
Nordlandia
Posts: 2828
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: RAM drive

Post by Nordlandia »

I see huge egtb boost in performance from nalimov/gaviota 5-men. Nalimov & Gaviota use different hash algorithm.

Syzygy get stored in RAM

Nalimov & Gaviota does not get stored in RAM.
flok

Re: RAM drive

Post by flok »

Usually an OS uses unused memory as a disk-cache which is comparable to a ramdisk, in a way.
syzygy
Posts: 5844
Joined: Tue Feb 28, 2012 11:56 pm

Re: RAM drive

Post by syzygy »

flok wrote:Usually an OS uses unused memory as a disk-cache which is comparable to a ramdisk, in a way.
Exactly.