Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415701 - sys-cluster/torque[cpusets] fails on 3.* kernels
Summary: sys-cluster/torque[cpusets] fails on 3.* kernels
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius (RETIRED)
URL: http://www.clusterresources.com/bugzi...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-13 06:22 UTC by Andrew Savchenko
Modified: 2020-03-05 19:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
torque-3.0.5-cpusets.patch (torque-3.0.5-cpusets.patch,4.98 KB, patch)
2012-05-13 06:24 UTC, Andrew Savchenko
Details | Diff
emerge --info (emerge.info,5.81 KB, text/plain)
2012-05-13 06:24 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2012-05-13 06:22:43 UTC
Hello,

torque 3.x fails with cpuset support enabled fails to run tasks on 3.2.x kernels (and presumably on all 3.x kernels).

The reason for this is changed path names for cpuset files, now they are the same as in cgroup filesystem, even if fs was mounted with -t cpuset. I described this in more detail in the torque bug_#195. Patch is available, it was tested on 3.2.14 vanilla kernel.
Comment 1 Andrew Savchenko gentoo-dev 2012-05-13 06:24:13 UTC
Created attachment 311579 [details, diff]
torque-3.0.5-cpusets.patch

It applies for 3.0.4 too. I just bumped my local version.
Comment 2 Andrew Savchenko gentoo-dev 2012-05-13 06:24:30 UTC
Created attachment 311581 [details]
emerge --info
Comment 3 Justin Bronder (RETIRED) gentoo-dev 2012-11-02 06:07:28 UTC
Sorry for the massive delay but is this still an issue?
Comment 4 Andrew Savchenko gentoo-dev 2012-11-02 17:51:04 UTC
Hello,

yes, this is still an issue even with torque-3.0.6.
Ustream suggests another solution: mount cpuset with noprefix option, but this does not work if cgroups is already mounted, which portage does; see discussion here:
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=195
So I still use this patch with 3.0.6.

I haven't tried 4.x branch and reading torque-users mail list suggests me that it is still too buggy for production, though some people are already using it in. Anyway in will be useful to see 4.x in portage.
Comment 5 Justin Bronder (RETIRED) gentoo-dev 2013-05-30 00:55:43 UTC
(In reply to Andrew Savchenko from comment #4)
> Hello,
> 
> yes, this is still an issue even with torque-3.0.6.
> Ustream suggests another solution: mount cpuset with noprefix option, but
> this does not work if cgroups is already mounted, which portage does; see
> discussion here:
> http://www.clusterresources.com/bugzilla/show_bug.cgi?id=195
> So I still use this patch with 3.0.6.
> 
> I haven't tried 4.x branch and reading torque-users mail list suggests me
> that it is still too buggy for production, though some people are already
> using it in. Anyway in will be useful to see 4.x in portage.

Well I just pushed 4.1.5.1 which hopefully has most of the bugs ironed out of it by now.  When you have time, would you mind checking it out?

And trust me, given how long I sometimes take to respond, I won't hold it against you if you don't test :)
Comment 6 Andrew Savchenko gentoo-dev 2013-05-31 17:10:22 UTC
Hello,

at this moment our system is used in production, so it is a bit premature to test torque-4 there considering severity of changes made since 3.x branch.

I'm planning test it on our playground, though it is not on the top of the list now, so it will take some (considerable) time. Nevertheless I'll report back when and if I'll have any results.
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2020-03-05 19:08:36 UTC
If anyone here can test cpusets with torque-4 or torque-6, and report back if it is still an issue, I would appreciate it.  For now I'm closing as RESO/OBSOLETE since v3 has been removed from the gentoo repo for some time now.