mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware

Reply
 
Thread Tools
Old 2023-04-28, 16:12   #12
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2,861 Posts
Default

Quote:
Originally Posted by kriesel View Post
I have found on a 24GB system that allowing 18GB in s2 is too much; 17 is stable, for ordinary wavefront exponents, but still gets slow/paging with 100Mdigit & above. Allowing all but 2.5GB as you appear to be is I think MUCH too aggressive. Try 10 of 16. Or 9.5. And/or be ruthless about exiting everything else. CPU will necessarily be rather idle while waiting for paging out/in of some of the prime95 stage 2 data that does not all fit in available ram.
A paging (swap) file can be a real bottleneck, especially with a mechanical drive. I literally roasted a drive a decade ago while doing video processing. I had to use an oven mitt to take it out after it died. It was that hot.

I have had Prime95, latest version, behave strangely with a fractional about of RAM allocated, such as 7.5GB. It would run really slow in Stage 2 of a P-1. 8GB was fine. I tried 9 and 10. This didn't leave W10 much wiggling room, but it ran alright. I plan on upgrading the RAM in this system soon. I will end up with either 32GB, or 40GB if I can leave two of the 4GB sticks in.

Perhaps a good rule-of-thumb would be to never try to use more than two-thirds of what is free, not what is installed. Windows 10 overhead uses about 3GB. This drops me from 16GB to 13GB available. Using 8GB for Prime95 is right around 60% of the available.

Last fiddled with by storm5510 on 2023-04-28 at 16:12 Reason: Correction
storm5510 is offline   Reply With Quote
Old 2023-04-28, 16:19   #13
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

1A8916 Posts
Default

All of my Windows systems are used to the maximum RAM without an problem. Usually not more than 0.5GB free. Works fine.

I don't have a swap file. Swap files are dumb, IMO. Maybe Windows has some weird logic and likes to populate the swap file too aggressively? IDK. I suggest to disable and delete the swap file. It is only harming you and not helping. If you run out of RAM then buy more RAM.
retina is offline   Reply With Quote
Old 2023-04-29, 12:31   #14
Andrew Usher
 
Dec 2022

3·132 Posts
Default

I don't like them either, on modern PCs they're quite pointless. But unfortunately, some versions of Windows (and of Un*x) may or do take the existence of a swap file for granted and fail to behave properly without one. XP is absolutely fine without one, but newer versions may become unstable if you come anywhere close to depleting RAM, so I'd be reluctant even if there's a slight performance improvement, as losing data is so much worse.

I can't understand how every educated Windows user can not see that _everything_ has gone downhill since XP - usability, reliability, general sanity.
Andrew Usher is offline   Reply With Quote
Old 2023-04-29, 14:13   #15
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

11010100010012 Posts
Default

Quote:
Originally Posted by Andrew Usher View Post
... some versions of Windows (and of Un*x) may or do take the existence of a swap file for granted and fail to behave properly without one.
Vague. Which versions? Which "Un*x"? I've never seen any OS "take the existence of a swap file for granted".

What is "Un*x" anyway? Unax, Unex, Unix, Unox, Unux?
retina is offline   Reply With Quote
Old 2023-04-29, 16:25   #16
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

B2D16 Posts
Default

Quote:
Originally Posted by Andrew Usher View Post
...But unfortunately, some versions of Windows (and of Un*x) may or do take the existence of a swap file for granted and fail to behave properly without one...
As an experiment, yesterday evening I changed my W10 setup to not have a swap file. It restarted fine, but it had 2GB less free RAM space after it all loaded. So, I put it back in the general vicinity of what size it appeared to be. In my case, W10 appears to store trivial things in it, whatever they may be. It is hard to tell if an SSD drive is thrashing as they read/write so rapidly, which is what mine is.

The only thing I run that might use it would be Prime95 running P-1's.

I am fairly certain that Ubuntu created a swap area when I installed it on my Xeon system. How large, I have no idea.
storm5510 is offline   Reply With Quote
Old 2023-04-29, 17:26   #17
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

110011000012 Posts
Default

Quote:
Originally Posted by retina View Post
What is "Un*x" anyway? Unax, Unex, Unix, Unox, Unux?
That definitely must be a Regex: Ux, Unx, Unnx, Unnnx, ...

Edit: Unox is a manufacturer of concetrated soups in Germany. We love their Ochsenschwanzsuppe.

Last fiddled with by kruoli on 2023-04-29 at 17:27 Reason: As indicated.
kruoli is online now   Reply With Quote
Old 2023-04-30, 22:41   #18
M344587487
 
M344587487's Avatar
 
"Composite as Heck"
Oct 2017

11101101102 Posts
Default

Linux is fine without a swap file, until you fill RAM and hell may or may not break loose. Performing better under memory pressure is being patched in over time.

https://www.phoronix.com/news/Linux-Does-Bad-Low-RAM

https://www.phoronix.com/news/Meta-Transparent-TMO

https://www.phoronix.com/news/Linux-6.1-PSI
M344587487 is offline   Reply With Quote
Old 2023-04-30, 23:06   #19
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

6,793 Posts
Default

Quote:
Originally Posted by M344587487 View Post
Linux is fine without a swap file, until you fill RAM and hell may or may not break loose.
It is the same behaviour with a swap, it is maybe delayed for a few minutes instead.

Linux handles memory allocations badly. The correct method for handling low memory is to simply deny excess allocations, and let the application figure it out when it doesn't get what is asks for. But sadly, Linux will gladly greatly over-subscribe RAM, and then panic when an app actually tries to use it. I wish it was better.
retina is offline   Reply With Quote
Old 2023-05-01, 17:32   #20
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

24·199 Posts
Default

Quote:
Originally Posted by retina View Post
Linux will gladly greatly over-subscribe RAM
You can tune that behaviour. It's enabled by default because some programs allocate way more memory than they actually use.
Mark Rose is offline   Reply With Quote
Old 2023-05-01, 18:05   #21
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

6,793 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
You can tune that behaviour. It's enabled by default because some programs allocate way more memory than they actually use.
I never knew that existed.

How can changes be made persistent? Isn't the /proc stuff volatile?
retina is offline   Reply With Quote
Old 2023-05-03, 12:27   #22
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

10111111111012 Posts
Default

Quote:
Originally Posted by retina View Post
I never knew that existed.

How can changes be made persistent? Isn't the /proc stuff volatile?
You could always set it in your .bashrc
henryzz is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I use GMP-ECM on Windows 7? bbb120 GMP-ECM 9 2019-03-01 19:33
Is it worth the trouble to "upgrade" Windows 8 to Windows 7? ixfd64 Lounge 23 2013-04-13 11:12
Windows 7 Windows Update & Prime95 issue!!! Unregistered Information & Answers 14 2010-04-10 21:47
GMP-ECM for Windows x64 frmky GMP-ECM 4 2005-09-30 18:42
New PC - x64 Windows Prime95 Software 9 2005-09-24 03:56

All times are UTC. The time now is 16:27.


Fri Jul 7 16:27:59 UTC 2023 up 323 days, 13:56, 0 users, load averages: 1.55, 1.96, 1.71

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔