Home | Community | Message Board


Myco SupplyPlease support our sponsors.

Community >> Science and Technology

Welcome to the Shroomery Message Board! Please login or register to post messages and view our members-only content. You'll gain access to additional forums, encrypted messages, file attachments, board customizations, and much more!

Pages: 1
InvisibleGumbyS
Zoologist of sorts.
Male User Gallery

Folding@home Statistics
Registered: 06/13/01
Posts: 14,353
Loc: Where god would give Eart...
Start/stop XP services via shortcut?
    #8594926 - 07/04/08 01:21 PM (6 months, 2 days ago)

I'm running two instances of the console version of Folding@Home because I have a dual core processor. As expected, the two instances use up damn near 100% of processing power.

Now when I have to use some kind of processor intensive app, like Photoshop, I have to stop the services because I need the processing power. It's a pain to do the hassle of "right click my computer>manage>services and applications>scroll down the list>right click one service>stop>right click other service>stop"

I was wondering if it would be possible to start/stop these services via an intelligently crafted shortcut command.

Anyone know if this is possible or have any other quick solutions for starting/stopping services?


--------------------

"No drug, not even alcohol, causes the fundamental ills of society. If we're looking for the sources of our troubles, we shouldn't test people for drugs, we should test them for stupidity, ignorance, greed, and love of power."
- P. J. O'Rourke


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
OfflineYthanA
0011101111111110
Male User Gallery


Folding@home Statistics
Registered: 08/08/97
Posts: 11,291
Loc: Upstate NY
Last seen: 17 minutes, 13 seconds
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8594975 - 07/04/08 01:39 PM (6 months, 2 days ago)

Quote:

Gumby said:
Now when I have to use some kind of processor intensive app, like Photoshop, I have to stop the services because I need the processing power.




Well, by default Folding@home runs at idle priority and on any modern operating system it will not steal cycles from higher priority apps like Photoshop. I suppose there could be a small effect if F@H pushes Photoshop instructions out of the CPU cache, but this probably isn't something you'd notice unless you're running synthetic benchmarks. If you're actually observing slowdowns (and not just worried about the possibility), I'd venture a guess it's because of F@H's memory utilization. Make sure you have the "allow workunits over 5MB in size" option disabled (bigpackets=no in your client.cfg).

But to answer your question you can use the commands net stop "servicename" and net start "servicename" to control services from the command line. You can easily create a shortcut for these commands if you wish.


Post Extras: Print Post  Remind Me!  Notify Moderator    
InvisibleGumbyS
Zoologist of sorts.
Male User Gallery

Folding@home Statistics
Registered: 06/13/01
Posts: 14,353
Loc: Where god would give Eart...
Re: Start/stop XP services via shortcut? [Re: Ythan]
    #8595434 - 07/04/08 04:10 PM (6 months, 2 days ago)

Thanks a lot Ythan.

I definitely notice a big difference when processing large images in Photoshop with F@H on/off. Photoshop renders images much more quickly when F@H services are stopped. Memory typically isn't an issue, I have 2 gigs physical RAM.

I'll try making that shortcut. :smile:


--------------------

"No drug, not even alcohol, causes the fundamental ills of society. If we're looking for the sources of our troubles, we shouldn't test people for drugs, we should test them for stupidity, ignorance, greed, and love of power."
- P. J. O'Rourke


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
InvisibleDiploidM
Cuban


Folding@home Statistics
Registered: 01/09/03
Posts: 9,923
Loc: Rabbit Hole
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8599403 - 07/06/08 01:04 AM (6 months, 1 day ago)

I definitely notice a big difference when processing large images in Photoshop with F@H on/off.

This doesn't make any sense. F@H runs at idle priority. It completely stops executing and unloads its context a few nanoseconds after another application requests the CPU. And it stays out of the way as long as anything else needs the CPU.

In other words, it only uses CPU cycles that get thrown away in the operating system's idle loop. It doesn't steal any that would actually get used by anything.


--------------------
Wanna hear something depressing? One out of three Shroomerites wants to lock me in a government cage for using a substance they don't like.

Hard to believe, right? Read it for yourself:

http://www.shroomery.org/forums/showflat.php/Number/7874721#Post7874721


Post Extras: Print Post  Remind Me!  Notify Moderator    
InvisibleGumbyS
Zoologist of sorts.
Male User Gallery

Folding@home Statistics
Registered: 06/13/01
Posts: 14,353
Loc: Where god would give Eart...
Re: Start/stop XP services via shortcut? [Re: Diploid]
    #8606479 - 07/07/08 11:03 PM (5 months, 30 days ago)

Ehh...

If I try to apply some sort of filter or resize some massive image while F@H is running it definitely goes a LOT slower than if it was not running.
:shrug:


--------------------

"No drug, not even alcohol, causes the fundamental ills of society. If we're looking for the sources of our troubles, we shouldn't test people for drugs, we should test them for stupidity, ignorance, greed, and love of power."
- P. J. O'Rourke


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
Offlinezouden
Neuroscientist
Male User Gallery


Registered: 11/12/07
Posts: 3,702
Loc: Australia
Last seen: 51 minutes, 13 seconds
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8606902 - 07/08/08 02:23 AM (5 months, 30 days ago)

It's easy enough for the OS to handle CPU timesharing, as Diploid says. But shifting memory allocation takes much longer. I think the RAM is probably the bottleneck here.


--------------------
Wave upon wave of demented avengers
Marched cheerfully out of obscurity into the dream


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
OfflineSeussA
Error: divide byzero


Folding@home Statistics
Registered: 04/27/01
Posts: 17,135
Loc: Caribbean
Last seen: 6 hours, 12 minutes
Re: Start/stop XP services via shortcut? [Re: zouden]
    #8607038 - 07/08/08 04:22 AM (5 months, 29 days ago)

> This doesn't make any sense

Yet I notice the same thing as others... I suspect windows "only run when idle" scheduling is a bit misleading.  Knowing windows, it probably just slows the entire system down creating idle time for the idle only processes to run within.  :rolleyes:


--------------------
Just another spore in the wind.


Post Extras: Print Post  Remind Me!  Notify Moderator    
Jump to top. Pages: 1

Community >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* Changing Start Menu Short-Cuts in XP
Jackal
213 4 04/20/04 12:57 PM
by Xochitl
* Hardening XP security....question..
Boom
215 2 06/20/07 07:58 PM
by Boom
* Need some help on win XP startup speed.. apparently no one can fix it:p
( 1 2 all )
stefanM
547 23 03/31/06 10:26 AM
by MAIA
* OSX wannabe - sweet dock for XP!
Xochitl
277 4 02/13/04 09:06 AM
by SkorpivoMusterion
* Broken XP Update Installs Itself, Even If You Don't Want It To
DiploidM
180 1 09/28/07 09:49 PM
by AaronEvil
* I can't click on my start menu/task bar.
Toddo
128 2 07/05/07 10:56 PM
by shithead
* Big Windows XP favor to ask
RandalFlagg
339 13 02/09/06 06:40 AM
by Ramlaen
* Critical Security Flaw In Photoshop
DiploidM
660 8 05/01/07 04:35 AM
by Seuss

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / UBBCode is enabled
Moderator:  Lana, Diploid, automan 
356 topic views. 1 registered and 3 anonymous users are browsing this forum.
[ Toggle Favorite | Print Topic ]

del.icio.us del.icio.us Digg digg Furl Furl MyWeb MyWeb Reddit reddit StumbleUpon StumbleUpon
Search this thread:
Please support our sponsors.

Copyright 1997-2009 Mind Media. Some rights reserved.

Generated in 0.149 seconds spending 0.063 seconds on 16 queries.