Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: how do I assign system resources?


24 Aug 2010   #1

Windows 7 Home Premium
 
 
how do I assign system resources?

greetings from Alaska,

I'm beating a faithful old horse, and need to assign a minimum amount of dedicated cpu to Foobar audio player.

browsers especially interfere with Foobar, rudely busting in mid song causing drop out in the playback stream.

I'm running Process Lasso, and can see it happening.
so I want to assign dedicated cpu time for Foobar.
thanks,

Jim


My System SpecsSystem Spec
.

24 Aug 2010   #2

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

My System SpecsSystem Spec
24 Aug 2010   #3

Windows 7 Home Premium
 
 

charmed,
thx
My System SpecsSystem Spec
.


25 Aug 2010   #4

Windows Server 2008 R2
 
 

You can also increase the priority of a specific process as well via a right-click on it in Task Manager to above normal or high (I would never recommend realtime, as that can have disastrous consequences if your newly-increased priority process decides to get active enough to usurp other system processes running at realtime), which (in most cases) gives the threads running in that process a higher priority over lower-priority running processes, which means threads at higher priority won't be swapped out for lower-priority threads as often (giving a foreground running thread more time to execute). You can also increase foreground thread priority scheduling (giving a thread a longer default quantum time) by changing the Win32PrioritySeparation value (still valid on Windows 7, even though the article is for XP) to 0x26 or 0x15 - I would not recommend 0x16 on a busy machine, as you can make background apps take much longer to run with such an aggressive setting. Testing each different setting is something you can do if you're a fiddler and don't mind testing things out . Giving a thread a longer quantum means the thread stays on the processor for more CPU cycles before Windows starts looking to swap it out, also giving a thread more time to execute.

Mixing these two can make foreground processes feel more like real-time applications, at the expense of making things running as background and/or lower-priority take longer to execute. Since they're in the background, though, their quick execution probably isn't that big a deal if the system isn't otherwise loaded down with actively running applications.
My System SpecsSystem Spec
25 Aug 2010   #5

Windows 8.1 Pro (x64)
 
 

Course if Foobar actually took advantage of the new media APIs introduced in Windows Vista it would not have this problem. What I mean is... http://en.wikipedia.org/wiki/Multime...eduler_Service
My System SpecsSystem Spec
25 Aug 2010   #6

Windows Server 2008 R2
 
 

Lemur is also correct, setting affinity isn't a bad idea, although if you're not careful you could choose a busy CPU and by bypassing the kernel's scheduler, you could end up with worse performance. As a rule, though, it is usually best not to pick the last CPU in a multi-CPU system. You can read Windows Internals if you want nitty-gritty as to why, but suffice to say on a busy system the last processor is usually the busiest CPU on the system due to how the scheduler works. It isn't as bad on Windows 7 as it was on XP due to User Mode Scheduling changes, but it still exists as a minor issue on busy boxes.

If you could at all avoid foobar and follow logic's advice on a Vista-compatible media player that would avoid the problems, that would also be good, but I'm assuming there's some logical reason you're sticking with foobar?
My System SpecsSystem Spec
Reply

 how do I assign system resources?




Thread Tools



Similar help and support threads for2: how do I assign system resources?
Thread Forum
Any screen capture programs which take little System Resources? Music, Pictures & Video
Can I assign a letter to the SYSTEM partition? General Discussion
0x800705AA Insufficient System Resources Network & Sharing
Insufficient System Resources Error Message BSOD Help and Support
Hows the MSE Final on System Resources? System Security
Starter or Basic (System Resources) General Discussion
WMP 12 System Resources Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:23 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33