Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Overclock.net Forum > Overclock.net Folding@Home Team

Reply
 
LinkBack Thread Tools
Old 3 Weeks Ago   #1 (permalink)
Programmer
 
cyclometric's Avatar
 
amd nvidia

Join Date: Aug 2008
Location: Palm Springs, CA
Posts: 110

Rep: 13 cyclometric Unknown
Unique Rep: 13
Folding Team Rank: 962
Trader Rating: 0
Default Using PSSUSPEND to pause F@H clients?

I was mucking around the other day in my Sysinternals folder and came upon pssuspend, a simple exe to "suspend and resume processes". It seemed to work fine for me when I entered the following command:
Code:
d:\SysITools\pssuspend.exe FAH623GPU.exe
and it seemed to restart just fine when I entered the resume command:
Code:
d:\SysITools\pssuspend.exe -r FAH623GPU.exe
I haven't yet tried it on my notfred's SMP client running in VMPlayer, but if it works, pssuspend seems like it could be a very easy and very scriptable way to release GPU or CPU resources (i.e. before starting a gaming session), and still being able to start folding again (after gaming or whatever) very easily and quickly.

I wonder if anyone has tried this and if there are any drawbacks or problems with this method, or if I came upon a good thing?

Thanks,
__________________
CPU-Z Validation

System: Video Editing
CPU
Phenom II x4 940 BE
Motherboard
GA-MA790X-UD4P
Memory
2x2GB OCZVU8002G=4GB
Graphics Card
EVGA GTX260 Core 216 SuperClocked
Hard Drive
1 TB WD; 500GB X 2 RAID1; 500GB Storage
Power Supply
Antec EA650
Case
Antec 900
CPU cooling
Xigmatek HDT-S1283, DK fan, bolt bracket vertical
GPU cooling
stock + Side 120 Blackfire4 + 92mm PWM from Phenom
OS
Windows 7 x64 Pro Retail (ty OCN!!)
Monitor
HF229H + VA1916W
cyclometric is offline I fold for Overclock.net cyclometric's Gallery   Reply With Quote
Old 3 Weeks Ago   #2 (permalink)
Folding Fanatic
 
xxbassplayerxx's Avatar
 
intel ati

Join Date: Jun 2009
Location: Louisville, Kentucky
Posts: 2,694

Rep: 176 xxbassplayerxx is acknowledged by manyxxbassplayerxx is acknowledged by many
Unique Rep: 149
Folding Team Rank: 649
Team Name: Team Mean Green
Trader Rating: 8
Default

Do you think you'd be able to configure it to automatically pause folding upon opening the game via a script attached to the shortcut or something along those lines?

Because that would be magical.
__________________
REPORT and move on.
Everyone, I have an urgent announcement to make: [PWN]Schubie is tricky.
Usually,
4650<3850<4670<3870<4770<4830<3870X2<4850<5770<487 0<4890<4770 CF<4850X2<4850 CF<5850<5870<5770 CF<4870X2<4870 CF<4890 CF<5850 CF<5970<5870 CF
Quote:
Originally Posted by G|F.E.A.D|Killa View Post
when its game time i tell my mom im going to go kill hookers and steal cars and kill cops... she says ok.

System: Miki <3
CPU
i7 920 @ 4.3GHz HT on
Motherboard
Gigabyte GA-EX58-UD4P
Memory
6GB OCZ Platinum 1600MHz
Graphics Card
Diamond XOC & Toxic 4890s
Hard Drive
WD Cavair 500GB & WD Black 1TB
Sound Card
Onboard
Power Supply
Corsair 1000HX
Case
HAF 932 Custom Painted White
CPU cooling
Enzotech Sapphire/EK NB/SB + Mosfet Blocks/MCR320
GPU cooling
Reference for Diamond, VaporX for Toxic
OS
Windows 7 Professional/nLite XP Professional
Monitor
Dell 22" @ 1680x1050
xxbassplayerxx is offline I fold for Overclock.net   Reply With Quote
Old 3 Weeks Ago   #3 (permalink)
Linux Lobbyist
 
amd nvidia

Join Date: Apr 2009
Location: In an Igloo
Posts: 1,328

Rep: 75 MAD_J is acknowledged by some
Unique Rep: 64
Folding Team Rank: 58
Trader Rating: 0
Default

Quote:
Originally Posted by xxbassplayerxx View Post
Do you think you'd be able to configure it to automatically pause folding upon opening the game via a script attached to the shortcut or something along those lines?

Because that would be magical.
Some one already has made a script to close/open folding automatically for gaming. But suspending it might be faster then closing/opening it.
__________________
I <3 Quake 3
Fold for OCN to help us take over the world! Team#37726
Phenom II X4 940 BE @ 3.6GHz 3D Mark Vantage: P 15,517 3D Mark 06: P 15,780
Quote:
Originally Posted by franz View Post
Lazy about overclocking.?!?!?!?!?!?! Sorry son, but you are on overclock.net and that is about as close to blasphemy as you can get.

System: Shenanigans
CPU
Phenom II X4 940 BE @ 3.6
Motherboard
ASUS M3N-HT
Memory
4x 2Gb Kingston HyperX
Graphics Card
3x GeForce 9800 GX2
Hard Drive
150Gb
Power Supply
Corsair HX1000W + HX750W
CPU cooling
Xigmatek HDT-S1283
OS
Win 7
Monitor
Samsung 226bw
Overclock.net - 2009 Chimp Challenge Champions 3 Million+ Folding at Home points
MAD_J is offline I fold for Overclock.net   Reply With Quote
Old 3 Weeks Ago   #4 (permalink)
Programmer
 
cyclometric's Avatar
 
amd nvidia

Join Date: Aug 2008
Location: Palm Springs, CA
Posts: 110

Rep: 13 cyclometric Unknown
Unique Rep: 13
Folding Team Rank: 962
Trader Rating: 0
Default

Quote:
Originally Posted by xxbassplayerxx View Post
Do you think you'd be able to configure it to automatically pause folding upon opening the game via a script attached to the shortcut or something along those lines?.
That's what I was thinking. I'll experiment with it a bit. I have just started folding on both of my GPUs, so I want to wait til they each finish their WUs so I'm sure not to waste any of that effort, then I'll give it a shot.

Quote:
Originally Posted by MAD_J View Post
Some one already has made a script to close/open folding automatically for gaming. But suspending it might be faster then closing/opening it.
Yeah, I was going to examine that project, because I have noticed that by suspending, GPU & CPU cycles are immediately freed up... I just want to do some testing for any issues this might cause. I'll be playing with it later today & will update the post.
__________________
CPU-Z Validation

System: Video Editing
CPU
Phenom II x4 940 BE
Motherboard
GA-MA790X-UD4P
Memory
2x2GB OCZVU8002G=4GB
Graphics Card
EVGA GTX260 Core 216 SuperClocked
Hard Drive
1 TB WD; 500GB X 2 RAID1; 500GB Storage
Power Supply
Antec EA650
Case
Antec 900
CPU cooling
Xigmatek HDT-S1283, DK fan, bolt bracket vertical
GPU cooling
stock + Side 120 Blackfire4 + 92mm PWM from Phenom
OS
Windows 7 x64 Pro Retail (ty OCN!!)
Monitor
HF229H + VA1916W
cyclometric is offline I fold for Overclock.net cyclometric's Gallery   Reply With Quote
Old 3 Weeks Ago   #5 (permalink)
AMD Overclocker
 
MadCatMk2's Avatar
 
intel nvidia

Join Date: May 2006
Location: Greece
Posts: 1,975

Rep: 202 MadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by many
Unique Rep: 158
Folding Team Rank: 203
Trader Rating: 0
Default

It's in my sig. I'm planning to make it a lot more user friendly and automated when I find some time.

Edit: You could use my method with psususpend if you wish as well as with non-service clients

System: It folds.
CPU
E8500 @ 3.58 - 1.12v
Motherboard
Penryn1600SLI (650i)
Memory
4 GB
Graphics Card
HD4850 & 8800GT
Hard Drive
Four of 'em.
Power Supply
PCP&C Silencer 750W
Case
Coolermaster HAF932
CPU cooling
Xigmatek HDT-S963
GPU cooling
Stock
OS
Binblows 7
Monitor
4612 FA (IPS Pwnage)
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points

Last edited by MadCatMk2 : 3 Weeks Ago at 11:07 AM
MadCatMk2 is offline I fold for Overclock.net   Reply With Quote
Old 2 Weeks Ago   #6 (permalink)
Programmer
 
cyclometric's Avatar
 
amd nvidia

Join Date: Aug 2008
Location: Palm Springs, CA
Posts: 110

Rep: 13 cyclometric Unknown
Unique Rep: 13
Folding Team Rank: 962
Trader Rating: 0
Default

Quote:
Originally Posted by MadCatMk2 View Post
It's in my sig. I'm planning to make it a lot more user friendly and automated when I find some time.

Edit: You could use my method with psususpend if you wish as well as with non-service clients
In fact, I did just that, and this script works beautifully on my two console GPU clients, stopping all folding activity without actually shutting down the client, and it starts up immediately upon exiting the game. Thanks !!

Code:
@echo off
pssuspend FahCore_11.exe
C:
cd <path to folder containing your games in dbl quotes>
start /wait <name of executable, dbl quotes if space>
pssuspend -r FahCore_11.exe
and here is a sample script:
Code:
@echo off
pssuspend FahCore_11.exe
C:
cd "C:\Program Files (x86)\Ubisoft\Telltale Games\CSI - Deadly Intent"
start /wait CSI5.exe
pssuspend -r FahCore_11.exe
One thing that's nice about PSSUSPEND is that a single call will suspend all running instances of the process with the name specified, so once call suspends both of my GPU console clients.

BTW, I tried to use a similar script on my VMWare Player client, running the Notfred's SMP client, against the "vmware-vmx.exe" process to release resources and it seemed to work fine, both suspending and resuming! Here's an example of that script, which comes in handy when I want to encode video or run any other CPU intensive task:

Code:
@echo off
pssuspend vmware-vmx.exe
C:
cd "c:\users\will\runapps\VirtualDub 1.97"
start /wait VirtualDub.exe
pssuspend -r vmware-vmx.exe
Enjoy!!
__________________
CPU-Z Validation

System: Video Editing
CPU
Phenom II x4 940 BE
Motherboard
GA-MA790X-UD4P
Memory
2x2GB OCZVU8002G=4GB
Graphics Card
EVGA GTX260 Core 216 SuperClocked
Hard Drive
1 TB WD; 500GB X 2 RAID1; 500GB Storage
Power Supply
Antec EA650
Case
Antec 900
CPU cooling
Xigmatek HDT-S1283, DK fan, bolt bracket vertical
GPU cooling
stock + Side 120 Blackfire4 + 92mm PWM from Phenom
OS
Windows 7 x64 Pro Retail (ty OCN!!)
Monitor
HF229H + VA1916W
cyclometric is offline I fold for Overclock.net cyclometric's Gallery   Reply With Quote
Old 2 Weeks Ago   #7 (permalink)
AMD Overclocker
 
MadCatMk2's Avatar
 
intel nvidia

Join Date: May 2006
Location: Greece
Posts: 1,975

Rep: 202 MadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by many
Unique Rep: 158
Folding Team Rank: 203
Trader Rating: 0
Default

My only concern with vmware is what happens to time in the machine and what PPD your monitoring client will show.
Really nice find though

System: It folds.
CPU
E8500 @ 3.58 - 1.12v
Motherboard
Penryn1600SLI (650i)
Memory
4 GB
Graphics Card
HD4850 & 8800GT
Hard Drive
Four of 'em.
Power Supply
PCP&C Silencer 750W
Case
Coolermaster HAF932
CPU cooling
Xigmatek HDT-S963
GPU cooling
Stock
OS
Binblows 7
Monitor
4612 FA (IPS Pwnage)
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points
MadCatMk2 is offline I fold for Overclock.net   Reply With Quote
Old 2 Weeks Ago   #8 (permalink)
Programmer
 
cyclometric's Avatar
 
amd nvidia

Join Date: Aug 2008
Location: Palm Springs, CA
Posts: 110

Rep: 13 cyclometric Unknown
Unique Rep: 13
Folding Team Rank: 962
Trader Rating: 0
Default

Quote:
Originally Posted by MadCatMk2 View Post
My only concern with vmware is what happens to time in the machine and what PPD your monitoring client will show.
Really nice find though
True, with VMWare, to be on the safe side, it's probably best to just shut down the virtual machine. I think as a test, though, I'll restart my instance of SMP with 'oneunit' and when it has finished this one, and started a new one, I'll test it when I'm at 1 or 2%, so in case it fails while being paused for an hour or more, I won't lose much work.

Should I do anything with this script, like post a new thread? It's the first time I've come up with something that could be of use to others on the site.

& thx for the rep!
__________________
CPU-Z Validation

System: Video Editing
CPU
Phenom II x4 940 BE
Motherboard
GA-MA790X-UD4P
Memory
2x2GB OCZVU8002G=4GB
Graphics Card
EVGA GTX260 Core 216 SuperClocked
Hard Drive
1 TB WD; 500GB X 2 RAID1; 500GB Storage
Power Supply
Antec EA650
Case
Antec 900
CPU cooling
Xigmatek HDT-S1283, DK fan, bolt bracket vertical
GPU cooling
stock + Side 120 Blackfire4 + 92mm PWM from Phenom
OS
Windows 7 x64 Pro Retail (ty OCN!!)
Monitor
HF229H + VA1916W
cyclometric is offline I fold for Overclock.net cyclometric's Gallery   Reply With Quote
Old 2 Weeks Ago   #9 (permalink)
AMD Overclocker
 
MadCatMk2's Avatar
 
intel nvidia

Join Date: May 2006
Location: Greece
Posts: 1,975

Rep: 202 MadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by manyMadCatMk2 is acknowledged by many
Unique Rep: 158
Folding Team Rank: 203
Trader Rating: 0
Default

My idea for the pausing/resuming scripts was to make it really easy to create shortcuts. Not everyone is willing to start making .bat files for all their games / programs.
Let's not forget support for services.
I had a couple of things in mind about how to make it but I've been busy with school and setting up servers.. but this shouldn't take a long time to do. I'll try to find some time.

System: It folds.
CPU
E8500 @ 3.58 - 1.12v
Motherboard
Penryn1600SLI (650i)
Memory
4 GB
Graphics Card
HD4850 & 8800GT
Hard Drive
Four of 'em.
Power Supply
PCP&C Silencer 750W
Case
Coolermaster HAF932
CPU cooling
Xigmatek HDT-S963
GPU cooling
Stock
OS
Binblows 7
Monitor
4612 FA (IPS Pwnage)
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points

Last edited by MadCatMk2 : 2 Weeks Ago at 12:00 PM
MadCatMk2 is offline I fold for Overclock.net   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 07:10 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.15342 seconds with 8 queries