[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Home]
Board
Settings Home
/g/ - Technology



Thread archived.
You cannot reply anymore.



File: download.jpg (24 KB, 283x178)
24 KB
24 KB JPG
Is there a way to DESIGNATE a core/ thread to a specific process and only that process without it doing anything else?
For example let's say I have an 8 core CPU and want 1 core to be used exclusively for running VLC, and 3 cores exclusively for running background OS tasks and services.
>>
No
>>
What if I told you cores don't exist
>>
>>63731603
Yes.
Go in task manager
Select process
Right click
Set affinity
deselect all cores except the one you want
>>
>>63731603
On Windows you can change the affinity, but I don't know how would make it run just that process without changing the affinity of every program.
>>
>>63731603
There's literally no reason to interfere with this. Stop thinking about it and resume normal business.
>>
Yes, you can write your own scheduler.
>>
>>63731659
This. There are many FOSS kernels out there to modify accordingly.
>>
>>63731704
This, should be a fun project for you Anon. This lets you learn about the inner workings of your computer.
Other than that, I don't recommend that. The default scheduler is there to prevent starvation for your different processes and maximize performance.
Also, if the process is multi-threaded and you limit it to one CPU, you don't get the multi-threaded benefits (depending on architecture).
>>
>>63731603
If you're running linux, look in to cgroups, it can do this.

>>63731625
That only configured that specific process to use that specific core, it does nothing about other processes




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.