Home | Community | Message Board

NorthSpore.com BOOMR Bag!
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Myyco.com Shop: Golden Teacher Liquid Culture For Sale

Jump to first unread post Pages: 1
InvisibleGumby
Fishnologist
 User Gallery

Registered: 06/13/01
Posts: 26,656
Start/stop XP services via shortcut?
    #8594926 - 07/04/08 01:21 PM (15 years, 10 months 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?

Extras: Filter Print Post Top
OfflineYthanA
ᕕ( ᐛ )ᕗ
Male User Gallery


Registered: 08/08/97
Posts: 18,840
Loc: NY/MA/VT Borderlands Flag
Last seen: 10 hours, 43 minutes
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8594975 - 07/04/08 01:39 PM (15 years, 10 months 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.

Extras: Filter Print Post Top
InvisibleGumby
Fishnologist
 User Gallery

Registered: 06/13/01
Posts: 26,656
Re: Start/stop XP services via shortcut? [Re: Ythan]
    #8595434 - 07/04/08 04:10 PM (15 years, 10 months 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:

Extras: Filter Print Post Top
InvisibleDiploidM
Cuban


Folding@home Statistics
Registered: 01/09/03
Posts: 19,274
Loc: Rabbit Hole
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8599403 - 07/06/08 01:04 AM (15 years, 10 months 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.


--------------------
Republican Values:

1) You can't get married to your spouse who is the same sex as you.
2) You can't have an abortion no matter how much you don't want a child.
3) You can't have a certain plant in your possession or you'll get locked up with a rapist and a murderer.

4) We need a smaller, less-intrusive government.

Extras: Filter Print Post Top
InvisibleGumby
Fishnologist
 User Gallery

Registered: 06/13/01
Posts: 26,656
Re: Start/stop XP services via shortcut? [Re: Diploid]
    #8606479 - 07/07/08 11:03 PM (15 years, 10 months 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:

Extras: Filter Print Post Top
Offlinezouden
Neuroscientist
Male User Gallery


Registered: 11/12/07
Posts: 7,091
Loc: Australia
Last seen: 14 years, 7 months
Re: Start/stop XP services via shortcut? [Re: Gumby]
    #8606902 - 07/08/08 02:23 AM (15 years, 10 months 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.


--------------------
I know... that just the smallest
                                                part of the world belongs to me
You know... I'm not a blind man
                                                    but truth is the hardest thing to see

Extras: Filter Print Post Top
OfflineSeussA
Error: divide byzero


Folding@home Statistics
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 3 months, 8 days
Re: Start/stop XP services via shortcut? [Re: zouden]
    #8607038 - 07/08/08 04:22 AM (15 years, 10 months 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.

Extras: Filter Print Post Top
Jump to top Pages: 1

Myyco.com Shop: Golden Teacher Liquid Culture For Sale


Similar ThreadsPosterViewsRepliesLast post
* xp services - recommended settings. Xochitl 941 2 11/07/03 02:10 AM
by Le_Canard
* Post deleted by Administrator Alien 1,270 12 05/30/03 11:21 PM
by u4ia
* OSX wannabe - sweet dock for XP! Xochitl 840 4 02/13/04 09:06 AM
by SkorpivoMusterion
* Changing Start Menu Short-Cuts in XP Jackal 722 4 04/20/04 12:57 PM
by Xochitl
* weird folder in XP Xochitl 1,503 9 12/28/03 09:48 PM
by ivi
* XP Home vs. XP Professional Autonomous 1,042 3 08/29/03 02:46 PM
by riffic
* Playing games supported for Win 95 on Win XP? Sheepish 1,019 5 09/16/03 07:56 AM
by Seuss
* xp pro problem scotsman1 830 1 12/30/03 04:29 AM
by Seuss

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
885 topic views. 0 members, 0 guests and 1 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.022 seconds spending 0.004 seconds on 12 queries.