madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 664 forks source link

RamDrive join to SSD #544

Open simbakkk opened 3 years ago

simbakkk commented 3 years ago

Hello,

I have a question .

It is possible under Windows OS create 50gb RamDisk and join it with partition of 60 gb SSD?

Thanks Sinisa

grayfallstown commented 3 years ago

This can be done with an extended volume. You need to convert your ssd and your ramdrive to a dynamic drive. I don't know which ram disk tool lets you create a ramdisk that can be converted to a dynamic drive. If you find one, tell me.

Chanix commented 3 years ago

try VHD

grayfallstown commented 3 years ago

@Chanix You cannot do that with VHD or VHDX.

number435398 commented 3 years ago

If you get a good SSD and or raid them you won't have to do that.

noneym commented 3 years ago

Is this possible in ubuntu? machine with 64gb ram

ataa commented 3 years ago

On Windows you can do it using PrimoCache (Paid Software), https://www.reddit.com/r/chia/comments/np0e3x/the_difference_8gb_of_ram_cache_makes_using/ On Linux it can be achieved by using BCache. https://www.reddit.com/r/chia/comments/o16tsc/quick_tutorial_to_set_up_bcache_to_enable_ramdisk/

Chanix commented 3 years ago

@Chanix You cannot do that with VHD or VHDX.

have you try?

grayfallstown commented 3 years ago

have you try?

Yes

reubes commented 3 years ago

I created a 24GB block ram disk (only have 32gb system) with this command: "modprobe brd rd_nr=1 rd_size=25165824 max_part=0" which goes to /dev/ram0. Then also made 4 x 24GB partitions across my 3 SSDs. Raid 0 together all 5 with mdadm and it seems to work pretty well without running out of space plotting on the 110GiB temp2. The 2 SSDs with only a single 24GB partition I also Raid 0 together the rest of the space for the main temp dir. Getting equivalent speeds to before and estimate saving 15% of writes to my SSDs. Having 64gb of ram would be much better as you could go to 30-40% probably.

ukdomainers commented 3 years ago

any body help me ive tried following this but am a completely new on linux

ive managed to create a 50gb ramdisk i can access thats the where ive got to

when i try to make-bcache -B /dev/nvme0n1p1 --block 512b --bucket 128k -C /tmp/ramdisk --block 512b --bucket 128k --discard --writeback

it cant open dsv /tmp/ramdisk: is a directory

how do i make the ramdisk a dev ?

reubes commented 3 years ago

How about /dev/ram or /dev/ram0?

Sent from my iPhone

On Jun 25, 2021, at 5:39 PM, ukdomainers @.***> wrote:

 any body help me ive tried following this but am a completely new on linux

ive managed to create a 50gb ramdisk i can access thats the where ive got to

when i try to make-bcache -B /dev/nvme0n1p1 --block 512b --bucket 128k -C /tmp/ramdisk --block 512b --bucket 128k --discard --writeback

it cant open dsv /tmp/ramdisk: is a directory

how do i make the ramdisk a dev ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ukdomainers commented 3 years ago

How about /dev/ram or /dev/ram0? Sent from my iPhone On Jun 25, 2021, at 5:39 PM, ukdomainers @.***> wrote:  any body help me ive tried following this but am a completely new on linux ive managed to create a 50gb ramdisk i can access thats the where ive got to when i try to make-bcache -B /dev/nvme0n1p1 --block 512b --bucket 128k -C /tmp/ramdisk --block 512b --bucket 128k --discard --writeback it cant open dsv /tmp/ramdisk: is a directory how do i make the ramdisk a dev ? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

hi reubes tried that just shows cant open dev /dev/ram: no such file or directory

fiveangle commented 3 years ago

If you're limited to Windows, check out Primocache as it's really the best solution out there (albeit, not free). I'm a huge FOSS advocate, but Primocache is really quality and I've not found anything else near as good, free or otherwise.