|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#11
|
|||
|
|||
Re: Processor affinity
Anyone getting hard crashes when switching sessions with this hack? I had to stop using it due to crashing whole switching session, which I have to do when reviewing with clients.
__________________
Brandon Howlett Vibe Audio Post, Inc. Re-recording Mixer Custom Build CPU, HDX 1, Omni, 192 I/O Digital S6 M10 24 fader Satellite Mac Pro, HDNative, 192 I/0 Black Magic HD Extreme |
#12
|
||||
|
||||
Re: Processor affinity
Nothing but trouble free using Processor Affinity as far as crashing is concerned - and most other things with the exception of the video engine choking on rare occasions. The Command switch won't work if you run Pro Tools as Administrator and it won't work if you start Pro Tools by double clicking a session icon. Some people have found better success, depending on the number of cores, by "turning off" a different core than 0 with Hyperthreading off or 0 and 1 with Hyperthreading on. You could also experiment with Processor Priority too.
__________________
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 |
#13
|
||||
|
||||
Re: Processor affinity
CPU Affinity took me from Unusable to Decent Performance
__________________
HP Z2 Xeon 6 Core, Blackmagic Decklink HD Extreme 3D Win10, PT ver.. Latest |
#14
|
||||
|
||||
Re: Processor affinity
Quote:
From post above it seems like I should avoid using core 0 and 1? |
#15
|
||||
|
||||
Re: Processor affinity
Christian, After opening Pro Tools, (but not a session) open task manager and right click on ProTools. Click on set affinity and uncheck core 0 and 1, leaving cores 2 through 13 checked. Then click on set priority and select High.
__________________
"Whiskey Bottle...Brand New Car...Oak Tree You're in my Way" RVZ Digi 002 rack , Command 8, Behringer ADA 8000, Tascam M-320B Mixer, Alesis Monitor Two Speakers, Vintage and Modern Tube Amps, Fender American Strat, 1973 Gibson SB-450 Bass, Epiphone Les Paul Traditional Pro, Roland W-30 Keyboard, Preimier XPK Fusion Drum Kit. |
#16
|
||||
|
||||
Re: Processor affinity
Thanks.
|
#17
|
|||
|
|||
Re: Processor affinity
Quote:
14 cores looks like this (two 1's per core (i.e. 2 virtual cores per real core): 1111111111111111111111111111 which is this in HEX: FFFFFFF So in the command line I gave I would try: FFFFFFE which is this in binary 1111111111111111111111111110 That would shut off one half of one real core - which I find optimal. You can use the Windows calculator to do the Hex>Binary conversions. BUT, THIS MAY DEPEND ON THE WAY THE AUDIO INTERFACE DRIVER WAS PROGRAMMED. So, some experimentation is needed. I would load up a reasonably complex tracking session, set the buffers low (I use 24/96 with 64 sample buffer with a MOTU 1248), and then watch the activity monitor. When the sudden spikes stop (redlines) you have found the right setting. WHY is this still a HACK Avid ? Seems pretty dumb we have to explain this over and over in the forum ! I have been using this since PT12. A STICKY perhaps that explains the method and optimization strategy ? Hope this helps. ejinbc Last edited by ejinbc; 10-01-2020 at 08:14 AM. |
#18
|
||||
|
||||
Re: Processor affinity
See my post #8 on the first page for a HEX calculator. And yes, you will need to experiment to find which cores you should turn off above a Quad Core CPU. Although I'm puzzled how you have 7/14 cores. AFAIK, Intel's CPU's are multiples of 2 using even numbers.
__________________
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 |
#19
|
||||
|
||||
Re: Processor affinity
We used to have options for "# of Processors" and "CPU Usage Limit" in Playback Engine. Why are these options no longer available?
Avid? Anybody?
__________________
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 |
#20
|
|||
|
|||
Re: Processor affinity
There might be another optimisation, disabling Page Combining.
Anyone tried this? It's mentioned here: https://avid.secure.force.com/pkb/ar...-Configuration I tried it and so far I did not need to do the affinity trick anymore. Long story short, Page Combining is a feature introduced in Windows 8.1 that reduces ram footprint of processes with same ram structure (or something like that). But it takes time to do so and it's often called by the os, so I guess it's not so good for apps depending on latency. |
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 |