Home | Community | Message Board


WTS - Compost Substrates and Horse ManurePlease 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
OfflineGumbyS
I <3 science
Male User Gallery

Folding@home Statistics
Registered: 06/13/01
Posts: 12,382
Loc: Where god would give Eart...
Last seen: 2 hours, 33 minutes
Start/stop XP services via shortcut?
    #8594926 - 07/04/08 01:21 PM (2 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: 10,882
Loc: Upstate NY
Last seen: 1 hour, 15 minutes
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8594975 - 07/04/08 01:39 PM (2 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.


--------------------
Visit the Growery!


Post Extras: Print Post  Remind Me!  Notify Moderator    
OfflineGumbyS
I <3 science
Male User Gallery

Folding@home Statistics
Registered: 06/13/01
Posts: 12,382
Loc: Where god would give Eart...
Last seen: 2 hours, 33 minutes
Re: Start/stop XP services via shortcut? [Re: Ythan]
    #8595434 - 07/04/08 04:10 PM (2 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,844
Loc: Rabbit Hole
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8599403 - 07/06/08 01:04 AM (2 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    
OfflineGumbyS
I <3 science
Male User Gallery

Folding@home Statistics
Registered: 06/13/01
Posts: 12,382
Loc: Where god would give Eart...
Last seen: 2 hours, 33 minutes
Re: Start/stop XP services via shortcut? [Re: Diploid]
    #8606479 - 07/07/08 11:03 PM (1 month, 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 
Onlinezouden
Neuroscientist
Male User Gallery


Registered: 11/12/07
Posts: 1,956
Loc: Australia
Last seen: 2 minutes, 42 seconds
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8606902 - 07/08/08 02:23 AM (1 month, 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.


--------------------
9/11 was sketchy but I mean come on


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


Folding@home Statistics
Registered: 04/27/01
Posts: 15,521
Loc: Caribbean
Last seen:
Re: Start/stop XP services via shortcut? [Re: zouden]
    #8607038 - 07/08/08 04:22 AM (1 month, 30 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
171 4 04/20/04 12:57 PM
by Xochitl
* Hardening XP security....question..
Boom
176 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
316 23 03/31/06 10:26 AM
by MAIA
* OSX wannabe - sweet dock for XP!
Xochitl
260 4 02/13/04 09:06 AM
by SkorpivoMusterion
* Broken XP Update Installs Itself, Even If You Don't Want It To
DiploidM
149 1 09/28/07 09:49 PM
by AaronEvil
* I can't click on my start menu/task bar.
Toddo
93 2 07/05/07 10:56 PM
by shithead
* Big Windows XP favor to ask
RandalFlagg
255 13 02/09/06 06:40 AM
by Ramlaen
* Critical Security Flaw In Photoshop
DiploidM
605 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 
245 topic views. 2 registered and 5 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:
RVF Garden SupplyPlease support our sponsors.

Copyright 1997-2008 Mind Media. Some rights reserved.

Generated in 0.147 seconds spending 0.087 seconds on 16 queries.