how do I assign system resources?

op3studios

New member
Local time
7:10 AM
Messages
15
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 Computer

Computer Manufacturer/Model Number
self built
OS
Windows 7 Home Premium
CPU
AMD Athalon 64 3200+
Motherboard
Asus K8V Deluxe
Memory
2 GB
Graphics Card(s)
Asus ATI 3450 HD
Sound Card
Asus Xonar D-1
Monitor(s) Displays
HP 2210m, Dell
Hard Drives
WD 70 Raptor, WD 100, WD 80,
Keyboard
Microsoft Ergonomic Split 4000
Mouse
Logitech Performance MX
Internet Speed
tfs!

My Computer

Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
charmed,
thx
 

My Computer

Computer Manufacturer/Model Number
self built
OS
Windows 7 Home Premium
CPU
AMD Athalon 64 3200+
Motherboard
Asus K8V Deluxe
Memory
2 GB
Graphics Card(s)
Asus ATI 3450 HD
Sound Card
Asus Xonar D-1
Monitor(s) Displays
HP 2210m, Dell
Hard Drives
WD 70 Raptor, WD 100, WD 80,
Keyboard
Microsoft Ergonomic Split 4000
Mouse
Logitech Performance MX
Internet Speed
tfs!
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 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 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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
Back
Top