madMAx43v3r / chia-gigahorse

221 stars 31 forks source link

VRAM low usage #254

Open MacZarFx opened 9 months ago

MacZarFx commented 9 months ago

I use rtx3090 for plotting - Gigahorses uses only 8 out of 24gb VRAM. Is there any parameter/method to push plotter for full VRAM utilization? I have 128GB RAM onboard and using -M64 parameter; -t and -2 fast NVME drives. What should I change?

LimakKAAM commented 9 months ago

Use approx -M 12 - 16 graphic memory.

MacZarFx commented 9 months ago

Unfortunatelly nothing has change in plus. The lower -M parameter is the lower usage of GPU card is :( And what interesting plotting time is nearly the same - the first plot k32 C19 in approx. 2.5 min... I hoped the more VRAM on GPU I have the faster plooting will be - but I can't find a proper way to use all available GPU VRAM... :(

ps. Maybe I should use -B --chunksize arg or -S --streams arg? But I can't find any detailed explanation what it is about and if (and how) it can change the plotting time...

Mathis436 commented 9 months ago

you are correct.... -S for the streams argument will work. I believe using a -S 12 should max out your vram, although you wont see much difference in the plot time in my experience. Max did a great job in optimizing the plotter. I was seeing approximately 2 min plot times on k32 c18 plots with vram maxed out and with just 8 gb being used. Hope this helps.

P.S. i was plotting on a RTX 3090 24GB also

MacZarFx commented 9 months ago

Thanks a lot!