Jump to content

So I run Plex on my gaming rig for the rest of the house. When i want to game and someone else wants to use plex and it needs to transcode i set it to use cores 4-7 leaving my games 0-3. This give me smother frame rates. I want to automate this on booting the system. Where is the registry key, xml, or what ever i need to edit to set the server or transcoder to use x core's or x% cpu utilization,  

Link to comment
https://linustechtips.com/topic/835736-plex-cpu-affinity-on-boot/
Share on other sites

Link to post
Share on other sites

The easiest way is to run plex in a VM where you can get set amount of core and resources. 

Magical Pineapples


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Link to post
Share on other sites

1 hour ago, tekgeek1205 said:

So I run Plex on my gaming rig for the rest of the house. When i want to game and someone else wants to use plex and it needs to transcode i set it to use cores 4-7 leaving my games 0-3. This give me smother frame rates. I want to automate this on booting the system. Where is the registry key, xml, or what ever i need to edit to set the server or transcoder to use x core's or x% cpu utilization,  

I don't think you can do it via any prefference specific to

Plex - but there is an alternative to Task Manager that leave running in the background, which can remember and apply CPU affinity automatically. I believe it is Process Explorer, but I'm not 100% sure that is the program I'm thinking of.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to post
Share on other sites

i think im just gong to pre transcode everything to plex driect play standards. Everything that is used to watch the videos are 1080p or 4k and on the local network. Its 1.4TB of video, hopefully most of my files are in formats plex likes. Im just going to use plex's optimized versions tool to check everything and deal with the loud water pumps for a few days.1.thumb.png.8cc4c4b69037d7835425942f5c9e3bb9.png

Link to post
Share on other sites

You could just create a ps1 script, and use task scheduler to run it at boot for cores 5, 6, 7, 8. 

https://stackoverflow.com/questions/19187241/change-affinity-of-process-with-windows-script

 

Theres no need to set the Affinity every time someone wants to watch it, you can leave it always set for the plex process. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to post
Share on other sites

A linux VM wouldn't really add much overhead honestly. I believe you may even get Hyper-V for free in some scenarios which would give you a near-bare-metal experience. You can also go into plex server settings and change the transcode quality. 

Link to post
Share on other sites

3 hours ago, Mikensan said:

A linux VM wouldn't really add much overhead honestly. I believe you may even get Hyper-V for free in some scenarios which would give you a near-bare-metal experience. You can also go into plex server settings and change the transcode quality. 

Just adding to this, if using Linux, you might wanna look into Docker as the virtualization overhead is pretty minimal and lightweight. 

Link to post
Share on other sites

21 hours ago, Munich said:

Just adding to this, if using Linux, you might wanna look into Docker as the virtualization overhead is pretty minimal and lightweight. 

Whats docker? I've seen it in a post somewhere before. Then went to look it up and ended up going down another path before figuring it out. Does Docker need a Linux host?

Link to post
Share on other sites

On 9/20/2017 at 6:05 AM, alex75871 said:

Dedicated server FTW.

When I upgrade my CPU/Motherboard next (next summer) every computer in the house shifts up to the next one and i'll be left with a FX4100 for a Dedicated server. By then i should have everything transcodeded in to mp4 (what my roku's like for direct play).

Link to post
Share on other sites

On 9/16/2017 at 10:06 PM, tekgeek1205 said:

i think im just gong to pre transcode everything to plex driect play standards. Everything that is used to watch the videos are 1080p or 4k and on the local network. Its 1.4TB of video, hopefully most of my files are in formats plex likes. Im just going to use plex's optimized versions tool to check everything and deal with the loud water pumps for a few days.1.thumb.png.8cc4c4b69037d7835425942f5c9e3bb9.png

What is giving you this cool looking dashboard thing? Is this a web interface?

Link to post
Share on other sites

8 minutes ago, DJ Nuck Chorris said:

What is giving you this cool looking dashboard thing? Is this a web interface?

Its prob a rainmeter setup

Tag me if you need me :D

-------------------------------------------------------------------------------------

Desktop:                                       Laptop:        
CPU - i7-4790k                            CPU: I7 7700HQ
GPU - Inno3D 1080TI                  GPU: 1060
Mobo - Gigabyte Z97X-SLI          Memory: 16 GB
Memory - 32 GB DDR3                Storage: 1256GB
Storage - 11 TB

-------------------------------------------------------------------------------------
Phone: ONEPLUS 6 128GB

Link to post
Share on other sites

On 9/25/2017 at 5:07 PM, DJ Nuck Chorris said:

What is giving you this cool looking dashboard thing? Is this a web interface?

 

On 9/25/2017 at 5:16 PM, BlueCrazii said:

Its prob a rainmeter setup

Yes its RainMeter. Its a bit of a pain to setup, but its great. 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×