mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-01-17, 01:36   #2113
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

1026910 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
It would be convenient to be able to click a button and pause activity, and maybe have the activity resume automatically in an hour. Or maybe have mfaktc run at a lower priority or do a "PauseWhileRunning" deal.

Is this something that could be easily coded?
If you open the DOS window where a program is running and [COLOR=lemonchiffon]select[/COLOR] part of the text, the program will suspend (not immediately, but after the current class will be done); it is a side-effect of DOS, I guess. I instructed my son to do that before he plays his games. When he is done - open the window again and right-click in it once, which will release the selection.

Another way to do is with Process Explorer.
Batalov is offline   Reply With Quote
Old 2013-01-17, 01:37   #2114
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by Batalov View Post
If you open the DOS window where a program is running and [COLOR=lemonchiffon]select[/COLOR] part of the text, the program will suspend (not immediately, but after the current class will be done); it is a side-effect of DOS, I guess. I instructed my son to do that before he plays his games. When he is done - open the window again and right-click in it once, which will release the selection.

Another way to do is with Process Explorer.
What about those of us who use various forms of GNU/Linux (or BSD)?


SB: That's too-oo easy! killall -STOP mfaktc and later killall -CONT mfaktc
Linux presents no problem! It is Windows that is a problem!

Last fiddled with by Batalov on 2013-01-17 at 02:05
Dubslow is offline   Reply With Quote
Old 2013-01-17, 02:04   #2115
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

427710 Posts
Default

Quote:
Originally Posted by kracker View Post
I would be curious as to how much a 660 Ti spits out too
223.6 GHz-days/day (based on estimates from a single CC 3.0 benchmark).
James Heinrich is offline   Reply With Quote
Old 2013-01-17, 02:08   #2116
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

10000101101012 Posts
Default

Quote:
Originally Posted by Batalov View Post
If you open the DOS window where a program is running and [COLOR=lemonchiffon]select[/COLOR] part of the text, the program will suspend ... open the window again and right-click in it once, which will release the selection.
Much easier: use the handy "Pause" key on your keyboard. Pauses immediately, and resumes on almost any key press (other than Pause and modifier keys like Shift/Alt/Ctrl). Not sure if same applies to Linux, but does work outside DOS and Windows (such as during POST).
James Heinrich is offline   Reply With Quote
Old 2013-01-17, 02:29   #2117
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

281D16 Posts
Default

Well, it doesn't pause immediately, -- only just as well as selection. The signal is not being transferred to the GPU which will always finish the last class before snoozing (unless you'd kill it).

Interestingly, putty.exe sends "Pause"-press to the ssh'd host as Ctrl-Z. (but of course it won't unpause for you later with any-key) That's convenient if you use putty ...even though Ctrl-Z also works always.

Plain Linux surely disregards this key (and it's evil brother "Ctrl-pause") (but as any key or key combination it is probably configurable).
Batalov is offline   Reply With Quote
Old 2013-01-17, 04:33   #2118
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

41·251 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
It would be convenient to be able to click a button and pause activity, and maybe have the activity resume automatically in an hour. Or maybe have mfaktc run at a lower priority or do a "PauseWhileRunning" deal.

Is this something that could be easily coded?

We have no problem stopping the program but we frequently forget to restart it.

We are currently running on a GT 430 but we have a GTX 660Ti to install tomorrow.
Ahhhh... so long I waited for this, but I expected it to come from Dubslow, to be able to tell him back: "Use windows!"
There is a "pause/break" key, which (temporarily) stops mfaktc until you press the "space" key.

[edit: grrr did not see there is a new page]

Last fiddled with by LaurV on 2013-01-17 at 04:36
LaurV is offline   Reply With Quote
Old 2013-01-17, 14:25   #2119
kjaget
 
kjaget's Avatar
 
Jun 2005

3×43 Posts
Default

Quote:
Originally Posted by Dubslow View Post
What about those of us who use various forms of GNU/Linux (or BSD)?


SB: That's too-oo easy! killall -STOP mfaktc and later killall -CONT mfaktc
Linux presents no problem! It is Windows that is a problem!
Control-S in the mfaktc window works under Windows, so you'd think it would work under Linux too. Control-Q (or any other key in Win) to continue.
kjaget is offline   Reply With Quote
Old 2013-01-17, 14:37   #2120
firejuggler
 
firejuggler's Avatar
 
"Vincent"
Apr 2010
Over the rainbow

23×5×73 Posts
Default

I always assume
control= DanceMyPuppet
firejuggler is offline   Reply With Quote
Old 2013-01-17, 15:12   #2121
apsen
 
Jun 2011

131 Posts
Default

My display does not lag on GTX 560 Ti generally but only in the game I play. So I start the game with a batch file:

Code:
pssuspend mfaktc-win-32
pssuspend -r mfaktc-win-64
xvm-stat.exe
pssuspend -r mfaktc-win-32
pssuspend mfaktc-win-64
So when I play the game I run CPU sieving copy, otherwise GPU.
apsen is offline   Reply With Quote
Old 2013-01-17, 16:29   #2122
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by Dubslow View Post
SB: That's too-oo easy! killall -STOP mfaktc and later killall -CONT mfaktc
Linux presents no problem! It is Windows that is a problem!
Well duh. The problem of course is remembering to type `fg` everytime I leave the computer, though as above, I just leave it on now with a much-crippled sieve size.

For a single process I prefer ^Z/fg, though for pausing a bunch of lasieve processes I have two aliases, one each for -STOP and -CONT inside a "for p in `pidof lasieve`; do killall <mode> $p; done" loop. Quite handy things, aliases.

Last fiddled with by Dubslow on 2013-01-17 at 16:30
Dubslow is offline   Reply With Quote
Old 2013-01-17, 21:05   #2123
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

207228 Posts
Default

Quote:
223.6 GHz-days/day (based on estimates from a single CC 3.0 benchmark).
We just finished installing the GTX 660Ti so we ran a benchmark. (This is with the 32-bit executable on 64-bit Windows 7, with all of the parameters set to default.)

Code:
no factor for M61160719 from 2^70 to 2^71 [mfaktc 0.20 barrett76_mul32_gs]
tf(): total time spent: 22m 15.685s
The lag with the default settings with the GT 430 was 3-4 seconds. Now the lag is maybe half a second at the worst. We still will probably dial back the "GPUSieveSize" setting a bit.

Our next goal is to get the GT 430 installed with the GTX 460Ti and use the GT 430 as a dedicated GPU factoring card.
Attached Thumbnails
Click image for larger version

Name:	gtx660ti-1.gif
Views:	200
Size:	22.3 KB
ID:	9139   Click image for larger version

Name:	gtx660ti-2.gif
Views:	211
Size:	14.0 KB
ID:	9140  
Xyzzy is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1724 2023-06-04 23:31
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 42 2022-12-18 05:59
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 14:47.


Fri Jul 7 14:47:30 UTC 2023 up 323 days, 12:16, 0 users, load averages: 1.68, 1.45, 1.21

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.

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