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.


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

My System SpecsSystem Spec

25 Aug 2010   #4

Windows 10 Pro x64

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 Win7, 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 10 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...
My System SpecsSystem Spec
25 Aug 2010   #6

Windows 10 Pro x64

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 Win7 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

 how do I assign system resources?

Thread Tools

Similar help and support threads
Thread Forum
System Resources are consuming more RAM....
Hi SF,my system resources are using too much RAM and CPU,and i cant run even low programs.Please find my attachments. Many thanks in advance....
Performance & Maintenance
Can I assign a letter to the SYSTEM partition?
Hi, I have a new HP laptop running Windows 7 Home Premium 64 bits. As I am about to tinker with the partitions, I wanted to save the MBR and the first 3 (FAT32) / 7 (NTFS) sectors of each partition, but the software I'm using to do this won't show me any info for the small active partition...
General Discussion
0x800705AA Insufficient System Resources
Need a little help. I have three W7 Home Premium Systems running on a gigabit network. When I copy a huge Acronis backup files (20+GB) from system B (using Windows Explorer on System B) to system A it runs at 40+ MB/Sec and quickly fails with the 0x800705AA error code. When I copy the same file...
Network & Sharing
WMP 12 System Resources
I Currently have 468Gb worth of music, The music is on a dedicated 1 TB WD 7200 RPM drive(sata) Issues: After a period of time(3-4 hours), WMP uses up 600 MB of Memory!!!!!????? it continually scans and updates the media library. CPU load is never on 0 either. it continually jumps up and...
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 12:39.
Twitter Facebook Google+