mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-01-17, 18:25   #1
daxmick
 
daxmick's Avatar
 
Feb 2014

8410 Posts
Default Reducing logging output of mfaktc

I've looked through the mfaktc.ini but I don't see a variable to set to reduce the amount of log output I see. I typically get 2-3 log entries every minute! I'd like to reduce this to 1 every 5 minutes or so.
Thoughts?
daxmick is offline   Reply With Quote
Old 2018-01-17, 19:01   #2
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×112×47 Posts
Default

Quote:
Originally Posted by daxmick View Post
I typically get 2-3 log entries every minute! I'd like to reduce this to 1 every 5 minutes or so.
I don't think there is a way to reduce the logging except by modifying the source code. One "hack" would be make sure you have PrintMode=0 in your .ini file, and then do something like this:
Code:
./mfaktc.exe </dev/null >mfaktc.log 2>/dev/null &
tail -f mfaktc.log | grep "0\.0%"
chalsall is offline   Reply With Quote
Old 2018-01-17, 19:17   #3
daxmick
 
daxmick's Avatar
 
Feb 2014

22·3·7 Posts
Default

Quote:
Originally Posted by chalsall View Post
I don't think there is a way to reduce the logging except by modifying the source code. One "hack" would be make sure you have PrintMode=0 in your .ini file, and then do something like this:
Code:
./mfaktc.exe </dev/null >mfaktc.log 2>/dev/null &
tail -f mfaktc.log | grep "0\.0%"
Good to know. I bit too much of a hack for me though. I'll just deal with the larger log file. :-)

The nice thing is that journalctl has a "reverse" mode where it will print out the most recent log entries at the top of the output!
Code:
journalctl -u mfaktc.service -r
NOTE: I named my systemd Unit file mfaktc.service. This command won't work without building that file first and adding it to systemd.
daxmick is offline   Reply With Quote
Old 2018-01-18, 01:16   #4
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

172208 Posts
Default

Quote:
Originally Posted by daxmick View Post
I've looked through the mfaktc.ini but I don't see a variable to set to reduce the amount of log output I see. I typically get 2-3 log entries every minute! I'd like to reduce this to 1 every 5 minutes or so.
Thoughts?
Agreed, mfaktc (and mfakto) produce a LOT of interim output. Putting that under user control by a parameter in the ini file is on the mfaktc wish list. No telling when it'll get added.
kriesel is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
ideas for expediting milestones and reducing poaching ixfd64 PrimeNet 19 2016-05-19 22:15
Problem Logging into GIMPS mes4646 Information & Answers 21 2015-10-30 10:00
Network logging? Xyzzy Linux 10 2015-09-25 17:55
Confusing MFAKTc output swl551 GPU Computing 5 2013-11-30 14:19
Logging window output... Xyzzy Software 7 2002-09-26 18:56

All times are UTC. The time now is 15:01.


Fri Jul 7 15:01:35 UTC 2023 up 323 days, 12:30, 0 users, load averages: 1.25, 1.20, 1.15

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.

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