4P 6172 OC -- what am I doing wrong?

Louis_Wu

n00b
Joined
Oct 6, 2013
Messages
31
Hi -- I'm running a 4P AMD system and just swapped 6172s for my entry level 6128s.

Linux N00b ;)

[H] Bios at 231 refclock for 2.4 GHz. I might have done something not quite right when flashing my board because only certain specific ref clocks will "take" (persist across reboot after ocng-cu change); 231 seems to be stable.

On an 8103 WU I went from 21 min TPF for about 180 K PPD (with 6128s at 2.3 GHz) to 14:45 TPF for about 310 K PPD with the 6172s (at 2.4 GHz). From what I can tell, 8102 and 8103 are identical PPD wise.

OK, it's an improvement -- but my system is running way, way off what Musky said earlier this year...

...in relation to a question from Whaler_99:

One data point for a 4p G34 system and the ppd calculator will get you pretty good estimates, and I'll give you a real data point:

2.713 GHz
WU: 8102
8:15 - 8:30/frame
700K - 730K ppd

So, forget ppd and use the tpf. For worst case estimate, we'll use the 8:30/frame, or 8.5 minutes.

6172 stock = 2.1 GHz
8.5 * (2.713/2.1) = 11 minutes/frame
475K ppd

6172 w/ 10% overclock = 2.31 GHz
8.5 x (2.713/2.31) = 10 minutes/frame
550K ppd

NOTE: this is with the BEST units out there. Going to an 8101 will get you ~60% the ppd figures​

-- I'm getting far longer TPFs than stock!

My system is:
SuperMicro H8QGI+-F
16 sticks 2GB Ripjaws 1333 CL7
650W from a Corsair AX1200
This is up from 550W with the 6128s (also at 231 ref clock for 2.31 GHz)
No unusual HT activity
Temps are between 42 and 50 degrees with Muskified 212+

Any and all suggestions are welcome and appreciated!

thanks,

Louis

sigimage.php
 
Re OC persistence --
Are you, by any chance, using SATA ports 4 or 5?
If so, please switch to other ports, re-apply the OC and recheck.

Re performance
Please provide output of fahdiag:
Code:
fahdiag | pastebinit
while the machine is folding (w/degraded performance).

Make sure that all unnecessary GUI apps are closed, too. That includes web browsers and
any system monitors: Ubuntu System Monitor, gkrellm, conky, etc.

Also, when you have a moment, run:
Code:
sudo tpc -CM
(interrupt with Ctrl+C) and make sure all cores are in P-state 0.

As well as:
Code:
sudo clockspeed
and make sure that reported frequency matches expected frequency.
 
Thanks for you quick reply, tear, and your suggestions!

SSD is plugged into SATA port 1. Not 0. Don't know why I did that.

fahdiag has been run while folding and is here: (let me know if I did that properly)

http://paste.ubuntu.com/6439100/

then I ran fahbackup, closed Ubuntu System Monitor and hit ctrl-C

ran sudo tpc -CM; returned tctl min 28 and max 33. I of course have no idea what that means.

clock speed returned 2425.899 MHz, which is what is expected on the 231 ref clock.

when I resumed FAH, the program couldn't find the checkpoint, which is the first time that's happened, so I'm on a new WU.

and ran fahdiag again after restarting FAH

http://paste.ubuntu.com/6439239/

and while we're talking about Ubuntu System Monitor, it says there are only 32 cores (same as when I was running 8-core 6128s) but FAH reports all 48 cores. Don't know if that means anything at all.

thanks again, tear!

Louis
 
Title says it all -- whatever it is you told me to do, tear, it totally fixed it.

The TPFs on my new 8103 WU are now less than 10 minutes :)

thanks tear!

Louis
 
As long as nothing is in port 4/5, you should be fine... and the moment you settle with BIOS
settings (as accessed by DEL key), ocng-cu settings should persist (unless you decide to change
BIOS settings again).

Umm, when I said interrupt by Ctrl+C, I meant interrupting tpc -CM, not the client...

Anyway, tpc -CM should've reported CPU P-states as well (psX). All cores should be
in P-state 0 (ps0).
For instance:
Code:
Ts:1533430819 - 
Node 0	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 51
Node 1	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 51
Node 2	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 46
Node 3	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 39
Node 4	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 53
Node 5	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 45
Node 6	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 48
Node 7	c0:ps0 - c1:ps0 - c2:ps0 - c3:ps0 - c4:ps0 - c5:ps0 - Tctl: 47

Stopping the client by means of "pkill fah6" makes it less likely to corrupt the checkpoint (don't use
Ctrl+C).

You may still have a chance of rescuing the unit using one of previous backups:
1. Stop the client -- run: pkill fah6
2. Restore last backup -- run: fahrestore -f
3. Check checkpoint consistency -- run: ls -l ~/fah/work/*.ckp
4. If it reports file size of 75160, you're ok to start the client and stop this procedure;
  if it does not, restore previous backup -- run: fahrestore -f previous
5. Check checkpoint consistency -- run: ls -l ~/fah/work/*.ckp
6. Hopefully it reports file size of 75160 -- start the client

Your initial fahdiag output had X server consuming noticeable amounts of CPU time:
Code:
top 5 CPU consumers:
 2555 4717  46 thekraken-FahCo
 1549 45.7   4 Xorg
 2933  6.0   6 python
 2409  3.8   4 gnome-system-mo
 2554  0.2   1 FahCore_a5.exe

Similarly, vmstat section suggested add'l CPU consumer:
Code:
vmstat (this will take 10 seconds):
48  0      0 28093756  22768 1595480    0    0     0    34 12146  294 65 35  0  0
49  0      0 28096576  22768 1595480    0    0     0    30 12138  312 61 39  0  0
49 running processes over second 5-second block (vs expected 48) and 39% of CPU time (system-wide) spent in kernel mode... (%sy).

It was very likely caused by the system monitor combined with poor performance of the video card/video
card driver.


Second run of fahinstall shows an improvement:
Code:
top 5 CPU consumers:
 3076 4721   7 thekraken-FahCo
 1549 40.5   6 Xorg
 3075  0.8   1 FahCore_a5.exe
 1944  0.1   6 unity-2d-shell
 1921  0.1   6 metacity

vmstat (this will take 10 seconds):
48  0      0 28335040  23616 1567436    0    0     0     0 12349  175 91  9  0  0
48  0      0 28336936  23624 1567436    0    0     0     6 12419  174 91  9  0  0
System monitor is gone. X server CPU consumption is in downward trend. 48 running processes
and 91% of CPU time (system-wide) is being spent in userspace (folding, more than likely).

System monitor in Ubuntu 12.04 is limited to displaying 32 cores. It's a cosmetic bug.
 
Last edited:
are there any downsides to using "pkill fah6"? I seemed to remember having an issue with it once so I stuck with ctrl-C (but I won't use that anymore!)

no more system monitor for me!

if I try the restore method with the previous backup, what happens to the current WU? does it run after the recovered WU?

thanks tear!
 
There are no downsides to using "pkill fah6" that I know of.
Also, note that fahbackup is automatically run at system shutdown/reboot so normally there should be
no need to ever "pkill fah6" except for, say, client reconfiguration.

If you examine your current log closely, you should see your previous unit being started from scratch
== you're likely folding same unit as before.

If that's the case, using one of previous backups should get you back on track. Otherwise... keep folding :)
 
You are of course completely correct; the previous WU was restarted.

I'll just continue folding because I wasn't that far along with it and now that the rig is firing on all 48 cylinders I'll be back to where I was within the hour!

many thanks tear!

Louis
 
Stopping the client by means of "pkill fah6" makes it less likely to corrupt the checkpoint (don't use
Ctrl+C).

You may still have a chance of rescuing the unit using one of previous backups:
1. Stop the client -- run: pkill fah6
2. Restore last backup -- run: fahrestore -f
Tear, I was unaware of those commands. Do they require installing a script? I'm still running the Ubuntu 10.10 load with BIOS G60NG3.A11 (maybe G4?, don't remember).

I can start a new thread if we need to. My 4P platforms have been so rock solid stable the thought of updating the OS or BIOS hasn't been tempting.
 
Speaking from ignorance, I'd welcome having an update to the guide to include all these very handy commands!

no matter how I stop FAH, the next time I start it the program does say something about the previous termination of the core was improper so I guess there's no 'polite' way of shutting FAH down…

besides, I spoke too soon -- turns out my rig was unstable so I've gone back to optimal defaults and stock clocks and we'll see if I can get some WUs done!
 
There are plans to describe output of fahdiag (w/commentary).

"Improper core termination" message you're seeing can be safely ignored; as long as
resumption from checkpoint is fine you will be folding optimally.

We've been kind-of avoiding advertising client stopping technique since the advent of
fahinstall [see Ubuntu guide] as, in common cases*, explicit client stopping is not
required** and may cause trouble (as you found out).

 *) common cases being: machine shutdown/reboot
**) fah backup is taken automatically as you shut down or reboot so you always run off the
   most recent backup

Naturally, advanced users may occasionally want to stop the client w/o rebooting the system.
Our preference has been to cover them on case-by-case basis :)

Re instability
What kind of instability did you see? Machine hang? Reboot? Core crash?

fahdiag's output carries crash information (for certain crash types), you may want
to take a look at that.

Also, it's wise to test the OC using dedicated unit [so your regular production
is not adversely affected by unit loss] -- here's how to do it: http://hardforum.com/showpost.php?p=1038639726&postcount=433


Linden, I would recommend upgrading your system to 12.04 per the Ubuntu Desktop
Installation Guide or switching to [H] Ubuntu Folding Appliance. Ubuntu 10.10 has
become too much of a maintenance burden and, while "pkill fah6" will work (no script
of any kind is needed), we can't support Ubuntu 10.10 given available resources.

Ofc, 10.10 systems that are running fine will probably continue to run fine but, shall the
issues arise, load a 12.04 system afresh before seeking assistance.
 
Last edited:
Thanks tear, for the further suggestions and tips to get tuning done properly without toasting WUs. (instability was generally UNSTABLE MACHINE)

Haven't got time right now so will run stock clocks till I do… even so, 6172s are a nice boos from 6128s!
 
Capture fresh fahdiag output (fahdiag | pastebinit) -- there may be clues as to what
specifically has been going on. As we'll be looking at past data, it is ok to do it now (at stock
clocks).

It may be that 231 is too much of an OC for your chips*; going lower (228, 225) may help.

*) or, to put it in other words, temps may be too high for the refclock == improving the cooling
  would possibly help as well

Also, it's generally advised to verify that memory operates fine at given refclock
[memtest86+] one can also/alternatively speculatively relax memory timings (in advanced
section of ocng-cu).

In any event, fahdiag output is the first step to figuring this out.
 
Last edited:
Back
Top