RAM usage Windows and Linux

A forum for discussing FAH-related hardware choices and info on actual products (not speculation).

Moderator: Site Moderators

Forum rules
Please read the forum rules before posting.

Re: RAM usage Windows and Linux

Postby holstien » Tue May 05, 2020 9:39 pm

Endgame124 wrote:
Joe_H wrote:
foldy wrote:I guess startup peak RAM usage is not so important as it can be swapped temporarily.

As long as you have enough swap space available. There have been reports of some of the larger WUs exceeding 5 GB of VM during startup, and not working because too little swap was available.

I just caught one WU a few days ago that went up to 4.8GB which put me pretty far into swap before dropping down to 2.2GB. I setup a 8GB zram swap partition to give me some extra space and so I wouldn’t put wear on my SSD for most swapping that occurs. So far, so good.

Hey, I know you've already set this up, but zswap is a lot smarter than zram! https://wiki.archlinux.org/index.php/Zswap
Posts: 8
Joined: Tue Apr 14, 2020 1:02 pm

Re: RAM usage Windows and Linux

Postby gordonbb » Wed May 06, 2020 5:57 pm

My 6 GPU rig is on Ubuntu 18.04.4. It was not happy with 8GB RAM and would occasionally fail a WU with a no memory error. I'm at 16GB RAM on the system now and running 9/16 threads of F@H or Rosetta in addition to GPU folding I have not seen any more WU failures but do see some Swap usage now and again.

Current utilization shows 1.384GB per Slot but the Swap is at 4GB and has slowly climbed over the 4 days since it's last restart,

I'll likely upgrade it to 24GB to get some breathing room.

My suggestion would be to just run with 32GB for a 8-GPU system from the start.
User avatar
Posts: 476
Joined: Mon May 21, 2018 5:12 pm
Location: Great White North

Re: RAM usage Windows and Linux

Postby Kebast » Wed May 06, 2020 6:04 pm

Windows 10:
I watched x22 p14251 (1018,2,11) from download through the first 2 percent. It ramped up gradually from zero RAM to 1,477 MB. I didn't see any big RAM spikes at any point for this project.
Ryzen 3800x 12T - 3xGTX970
Posts: 359
Joined: Thu Aug 06, 2015 6:21 pm

Re: RAM usage Windows and Linux

Postby foldy » Wed May 06, 2020 6:52 pm

@gordonbb: At 8GB RAM did you try to set a large swap file e.g. 16Gb and did it slow down anything? I'm not sure if a work unit really needs all the RAM allocated or if swapping 50% is good enough.
Posts: 1938
Joined: Sat Dec 01, 2012 4:43 pm

Re: RAM usage Windows and Linux

Postby uyaem » Sat May 23, 2020 1:47 pm

foldy wrote:14201 FahCore_22 Windows 1700 MB

14251 FahCore_22 v0.0.5 Windows 1350 MB. After pause and resume it has 1100 MB. After next checkpoint it is at 1350 MB again.

14253 FahCore_22 Windows 1700 MB.

16441 FahCore_22 v0.0.5 Windows 970 MB

16442 FahCore_22 v0.0.5 Windows 900 MB

For me, 14201 has become really common, and it's a hungry hungry hippo:

14201 FahCore_22 v0.0.5 Windows 2700 MB

When writing checkpoints, it climbs to 3400 MB, but drops again after.
CPU: Ryzen 9 3900X (1x21 CPUs) ~ GPU: nVidia GeForce GTX 1660 Super (Asus)
Posts: 222
Joined: Sat Mar 21, 2020 8:35 pm
Location: Esslingen, Germany

Re: RAM usage Windows and Linux

Postby bruce » Sat May 23, 2020 4:16 pm

FAH checks RAM when it makes an assignment, but it makes it's decision based on a system that's not running multiple GPUs. I have not found a good way to deal with that level of virtual memory usage. Ever with the paging file on SSD thrashing can become a problem.
Posts: 19679
Joined: Thu Nov 29, 2007 11:13 pm
Location: So. Cal.

Re: RAM usage Windows and Linux

Postby MeeLee » Sat May 23, 2020 5:53 pm

Personally I would install enough RAM (8GB should be enough) and set swap and hybernation file to zero (or off).
I've never ran into a situation where I ran over 7,5GB of RAM, and that was with FAH running and a browser open with a good 20 to 40 tabs.
Posts: 930
Joined: Tue Feb 19, 2019 11:16 pm


Return to FAH Hardware

Who is online

Users browsing this forum: No registered users and 2 guests