|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#1
|
||||
|
||||
Processor affinity
I've read a few posts about manually setting processor affinity. Are most Windows/Pro Tools users here currently doing this? Is it now considered standard practice? Thanks!
__________________
Desktop build: PT 2020.5 / Win 11 / i9-11900K @ 5.1GHz / 64GB / 4TB NVMe PCIe 4 / Gigabyte Z590 Vision D / PreSonus 2626 Laptop: PT 2020.5 / Win 11 / i5-12500H / 16GB / 1TB NVMe / Lenovo IdeaPad 5i Pro / U-PHORIA UMC1820 Ancient/Legacy (still works!): PT 5 & 6 / OS9 & OSX / Mac G4 / DIGI 001 Click for audio/video demo Click for resume |
#2
|
||||
|
||||
Re: Processor affinity
Probably not standard practice, but it's helped me with a few issues. There is a way to get the PT shortcut to automatically start PT with the Processor Affinity you want. However, that won't work if you're running PT as Administrator and/or start PT by double clicking on a session's icon.
I also changed my drives from MBR to GPT, which also seemed to help.
__________________
Take your projects to the next level with a non-union national read at reasonable rates Demos: brucehayward dot com SonoBus Source-Connect: brucehayward Options for Remote Direction |
#3
|
||||
|
||||
Re: Processor affinity
I experimented a little but saw no significant change(but was not aware that running as admin had any affect, so???). Moving from an older socket 1366 to a newer socket 2011 system made a much bigger improvement.
__________________
HP Z4 workstation, Mbox Studio https://www.facebook.com/search/top/...0sound%20works The better I drink, the more I mix BTW, my name is Dave, but most people call me.........................Dave |
#4
|
|||
|
|||
Re: Processor affinity
Did quite some affinity experiments using latency monitor. Measurements showed that in cores 0-1, IRQ/DPC max-times were the longest.
Concluded that CPU spiking improved a little by forcing PT to execute on higher numbered cores 2-12, leaving cores 0-1 to whatever windowsy, goes on there.( i7 8750H OMEN laptop 6 real cores 12 virtual cores) A greater difference came out of inactivating "Control method battery" in device manager. That broke the battery so don't do that. Article found at Sweetwater. But now for some reason I don't know, perhaps some update, it seems to have improved and I don't usually do affinity. Yet, I would try it again if problems occurr. Skickat från min Moto G (5) via Tapatalk
__________________
Free beer tomorrow !! - but until then - we're stuck in the present moment |
#5
|
|||
|
|||
Re: Processor affinity
Got rid of random pops and clicks for me, with low buffers. (I'm talking stupid low, like 32 or 64)
Set up a shortcut to launch PT with the affinity hack and then a macro in Autohotkey to launch the shortcut with a key command. You have to make peace with the idea that you won't be able to launch sessions directly if you want to do this, but I've found that the recents list is convenient enough.
__________________
PC workstation: Windows 10 Pro i7 12700K RTX 2080ti 64GB DDR5 5200mhz RAM 2 Samsung 980 Pro 1TB SSDs Samsung 850 Pro 1TB SSD LG 34" Ultra-Widescreen monitor Pro Tools 12.4 A loaf of bread A stick of butter A lot of rye whiskey |
#6
|
||||
|
||||
Re: Processor affinity
Pops and clicks gone for me too; why I continue to use the command shortcut.
__________________
Take your projects to the next level with a non-union national read at reasonable rates Demos: brucehayward dot com SonoBus Source-Connect: brucehayward Options for Remote Direction |
#7
|
||||
|
||||
Re: Processor affinity
Well, I just tried it for the first time, & it seems to have fixed my issue!!!
I had a session the other day that was CPU spiking @ 64. Today, I opened the session again - still spikey. Next, I set processor affinity to NOT use cores 1 & 2 (of 12). Then, I set priority to high. The spikes stopped & the session ran perfectly. Reset affinity/priority back as before, & the spikes returned. Tried it again: 1 & 2 off/high priority ---> spikes stopped. I'm sold!!! Here's how to do it: http://duc.avid.com/showthread.php?t...essor+Affinity
__________________
Desktop build: PT 2020.5 / Win 11 / i9-11900K @ 5.1GHz / 64GB / 4TB NVMe PCIe 4 / Gigabyte Z590 Vision D / PreSonus 2626 Laptop: PT 2020.5 / Win 11 / i5-12500H / 16GB / 1TB NVMe / Lenovo IdeaPad 5i Pro / U-PHORIA UMC1820 Ancient/Legacy (still works!): PT 5 & 6 / OS9 & OSX / Mac G4 / DIGI 001 Click for audio/video demo Click for resume Last edited by EGS; 09-21-2020 at 06:19 AM. |
#8
|
||||
|
||||
Re: Processor affinity
Here's some useful links:
https://www.youtube.com/watch?v=e565VSxdVhY https://bitsum.com/tools/cpu-affinity-calculator/
__________________
Take your projects to the next level with a non-union national read at reasonable rates Demos: brucehayward dot com SonoBus Source-Connect: brucehayward Options for Remote Direction |
#9
|
||||
|
||||
Re: Processor affinity
We used to have options for "# of Processors" and "CPU Usage Limit" in Playback Engine. When/why did these CPU options go away? Now to achieve this, we need to manually adjust Processor Affinity/Priority?
__________________
Desktop build: PT 2020.5 / Win 11 / i9-11900K @ 5.1GHz / 64GB / 4TB NVMe PCIe 4 / Gigabyte Z590 Vision D / PreSonus 2626 Laptop: PT 2020.5 / Win 11 / i5-12500H / 16GB / 1TB NVMe / Lenovo IdeaPad 5i Pro / U-PHORIA UMC1820 Ancient/Legacy (still works!): PT 5 & 6 / OS9 & OSX / Mac G4 / DIGI 001 Click for audio/video demo Click for resume |
#10
|
|||
|
|||
Re: Processor affinity
YES.
Affinity switch setting still required for me to get click/pop free performance at 24/96 with 64 sample buffer (OC 8700K; Win 10; MOTU 1248; PT 2020.9.1; NI Komplete; Waves Gold+). Without this setting the processor switching gets in the way (I think) and the sample que gets serviced too late - and then a click. For my 8700K FFE works best. At 256 buffer and greater this switch is not required, and in fact can make PT a bit less powered YMMV. So I use 2 command prompts, one with an Affinity switch and one without. For reference: cmd.e x e /c start "ProTools" /affinity FFE "C:\Program Files\Avid\Pro Tools\Protools.exe <remove spaces in ".exe" above can't post without added spaces> ej9inbc |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Win 10; PT 12.5.2; Processor Affinity | ejinbc | Windows | 8 | 08-01-2016 12:33 PM |
CPU Spikes, 12.5, and processor affinity... Work-Around? | 59.9hz | Pro Tools 12 | 12 | 07-22-2016 10:42 AM |
Dual core problems with old 6.x rig. Affinity problem. | scoobydoo | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 0 | 11-24-2007 08:12 PM |
Set processor affinity fixed -9092, -9093 issues | philwinkle | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 3 | 07-31-2006 08:33 PM |
Dual Core Processor Affinity / 9093 9094 9129 | ikelk | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) | 6 | 02-21-2006 01:31 PM |