getting curious about multi-core tasking

Louis Santillan lpsantil at gmail.com
Sat Dec 17 06:33:42 UTC 2016


So for that you have choices, OpenVZ [0], cgroups [1], LXC [2],
VServer [3], and KVM [4], the last of which is really a bunch of
choices.

[0] https://en.wikipedia.org/wiki/OpenVZ#Resource_management
[1] https://en.wikipedia.org/wiki/Cgroups
[2] https://en.wikipedia.org/wiki/LXC
[3] https://en.wikipedia.org/wiki/Linux-VServer
[4] http://www.linux-kvm.org/page/Management_Tools


On Fri, Dec 16, 2016 at 2:33 PM, Steve Volumetric
<volumetricsteve at gmail.com> wrote:
> Yes, I should have used that phrasing in my question, and I see all that
> (I've already emailed myself a few of the links you provided) thanks for
> those anyway.
>
> My concern/question is more...can I get crux to do that to itself on
> startup...or really, maybe a better way of describing what I would like to
> do is have 4 of my 6 cores untouched by whatever automatically schedules
> jobs so I (and only I) can manually set affinity to jobs on those free cores
> as I choose.
>
> On Fri, Dec 16, 2016 at 5:30 PM, Louis Santillan <lpsantil at gmail.com> wrote:
>>
>> The word you're looking for is CPU Affinity. See [0][1][2][3].
>>
>> [0] https://sourceforge.net/projects/schedutils/
>> [1]
>> https://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
>> [2] http://www.glennklockwood.com/hpc-howtos/process-affinity.html
>> [3] http://man7.org/linux/man-pages/man2/sched_setaffinity.2.html
>>
>>
>> On Fri, Dec 16, 2016 at 2:09 PM, Steve Volumetric
>> <volumetricsteve at gmail.com> wrote:
>> > Hey everyone,
>> >
>> > I'm about to set up a server (minecraft, sorry) and what I'd like to do
>> > is
>> > ensure consistency of service, even if it's at the cost of a performance
>> > hit.
>> >
>> > My thinking is, if I can get crux to boot up...some way, maybe it could
>> > launch and lock all things brought up at system-startup-time to
>> > say...core
>> > 0.  As far as many services would be concerned, they'd be on a single
>> > core
>> > system.
>> >
>> > With my other 5 cores, I'd like to designate each core to a particular
>> > world, and this is done fairly easily, but my real question is up above.
>> >
>> > Can I get crux to relegate its services to a single core consistently?
>> > If
>> > not one, maybe two?
>> >
>> > Thanks
>> >
>> > _______________________________________________
>> > CRUX mailing list
>> > CRUX at lists.crux.nu
>> > https://lists.crux.nu/mailman/listinfo/crux
>> >
>
>



More information about the CRUX mailing list