Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   sched_autogroup interactivity patch for the desktop (http://www.linux-archive.org/fedora-development/453342-sched_autogroup-interactivity-patch-desktop.html)

Ilyes Gouta 11-16-2010 02:58 PM

sched_autogroup interactivity patch for the desktop
 
Hi,
http://linux.slashdot.org/story/10/11/16/1330233/The-200-Line-Linux-Kernel-Patch-That-Does-Wonders

patch:*http://marc.info/?l=linux-kernel&m=128978361700898&w=2
Can we have this patch back ported into the current kernel for Fedora 14 and possibly posted as an update? :)


Would be wonderful!
-Ilyes
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Matthew Garrett 11-16-2010 03:14 PM

sched_autogroup interactivity patch for the desktop
 
On Tue, Nov 16, 2010 at 04:58:11PM +0100, Ilyes Gouta wrote:
> Hi,
> http://linux.slashdot.org/story/10/11/16/1330233/The-200-Line-Linux-Kernel-Patch-That-Does-Wonders
> patch: http://marc.info/?l=linux-kernel&m=128978361700898&w=2
> Can we have this patch back ported into the current kernel for Fedora 14
> and possibly posted as an update? :)

At the point where it's been demonstrated to be stable and not trigger
any significant performance regressions we'll consider it, but we don't
make a habit of backporting code that hasn't even been merged upstream
into our stable release.

--
Matthew Garrett | mjg59@srcf.ucam.org
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

"Jason L Tibbitts III" 11-16-2010 03:38 PM

sched_autogroup interactivity patch for the desktop
 
>>>>> "IG" == Ilyes Gouta <ilyes.gouta@gmail.com> writes:

IG> Can we have this patch back ported into the current kernel for
IG> Fedora 14 and possibly posted as an update? :)
IG> Would be wonderful!

Would be more wonderful to wait until the upstream development has
actually finished before cramming it into our packages and hoping it
actually works. If you really want it, Fedora provides all the tools to
build your own custom kernel package.

- J<
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Kyle McMartin 11-16-2010 03:39 PM

sched_autogroup interactivity patch for the desktop
 
On Tue, Nov 16, 2010 at 04:58:11PM +0100, Ilyes Gouta wrote:
> Can we have this patch back ported into the current kernel for Fedora 14 and
> possibly posted as an update? :)
>
> Would be wonderful!
>

Try this,
http://kyle.fedorapeople.org/kernel/2.6.35.8-59.xsched1/
i686 coming whenever mock finishes.

regards, Kyle.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Ilyes Gouta 11-16-2010 03:40 PM

sched_autogroup interactivity patch for the desktop
 
Hi,
According to phoronix, it would be queued for the 2.6.38 release.
> actually works. *If you really want it, Fedora provides all the tools to
> build your own custom kernel package.


It's already on my todo list :)

-Ilyes
On Tue, Nov 16, 2010 at 5:38 PM, Jason L Tibbitts III <tibbs@math.uh.edu> wrote:


>>>>> "IG" == Ilyes Gouta <ilyes.gouta@gmail.com> writes:





IG> Can we have this patch back ported into the current kernel for

IG> Fedora 14 and possibly posted as an update? :)

IG> Would be wonderful!



Would be more wonderful to wait until the upstream development has

actually finished before cramming it into our packages and hoping it

actually works. *If you really want it, Fedora provides all the tools to

build your own custom kernel package.



*- J<

--

devel mailing list

devel@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/devel



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Ilyes Gouta 11-16-2010 03:42 PM

sched_autogroup interactivity patch for the desktop
 
Thanks Kyle for making it available!
-Ilyes

On Tue, Nov 16, 2010 at 5:39 PM, Kyle McMartin <kyle@mcmartin.ca> wrote:


On Tue, Nov 16, 2010 at 04:58:11PM +0100, Ilyes Gouta wrote:

> Can we have this patch back ported into the current kernel for Fedora 14 and

> possibly posted as an update? :)

>

> Would be wonderful!

>



Try this,

http://kyle.fedorapeople.org/kernel/2.6.35.8-59.xsched1/

i686 coming whenever mock finishes.



regards, Kyle.

--

devel mailing list

devel@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/devel



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Genes MailLists 11-16-2010 03:58 PM

sched_autogroup interactivity patch for the desktop
 
On 11/16/2010 11:39 AM, Kyle McMartin wrote:
> On Tue, Nov 16, 2010 at 04:58:11PM +0100, Ilyes Gouta wrote:
>> Can we have this patch back ported into the current kernel for Fedora 14 and
>> possibly posted as an update? :)
>>
>> Would be wonderful!
>>
>
> Try this,
> http://kyle.fedorapeople.org/kernel/2.6.35.8-59.xsched1/
> i686 coming whenever mock finishes.
>
> regards, Kyle.

Testing this on f13 ... thank you ...

So far no problems ... too soon to report on benefits



gene
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Lennart Poettering 11-16-2010 04:14 PM

sched_autogroup interactivity patch for the desktop
 
On Tue, 16.11.10 16:58, Ilyes Gouta (ilyes.gouta@gmail.com) wrote:

> Hi,
>
> http://linux.slashdot.org/story/10/11/16/1330233/The-200-Line-Linux-Kernel-Patch-That-Does-Wonders
> patch: http://marc.info/?l=linux-kernel&m=128978361700898&w=2
>
> Can we have this patch back ported into the current kernel for Fedora 14 and
> possibly posted as an update? :)

This appears completely backwards to me. Attaching things like this to a
TTY is just wrong, because normally we don't have a single TTY around on
most graphical sessions.

The kernel doesn't really have a notion of what a "session" is (only the
audit subsystem kinda has), but if this grouping behaviour is supposed
to be bound to a session, then attaching it to a TTY is a pretty shitty
replacement.

Dhaval Giani pointed out to me that the same can be done from userspace
simply by creating a cgroup for each session in the cpu hierarchy. Turns
out systemd actually does pretty much that, except in the named systemd
hierarchy. It is trivial modification to create a group in both hierarchies.

Lennart

--
Lennart Poettering - Red Hat, Inc.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Ilyes Gouta 11-16-2010 05:52 PM

sched_autogroup interactivity patch for the desktop
 
Hi Leenart,
> Dhaval Giani pointed out to me that the same can be done from userspace
> simply by creating a cgroup for each session in the cpu hierarchy. Turns


So a session's (as you're*referring)*initiator*to would be the terminal emulator process that has a virtual tty and systemd detect those and setup a proper cgroup so that we could differentiate when scheduling with other processes?


-Ilyes
On Tue, Nov 16, 2010 at 6:14 PM, Lennart Poettering <mzerqung@0pointer.de> wrote:


On Tue, 16.11.10 16:58, Ilyes Gouta (ilyes.gouta@gmail.com) wrote:





> Hi,

>

> http://linux.slashdot.org/story/10/11/16/1330233/The-200-Line-Linux-Kernel-Patch-That-Does-Wonders



> patch: http://marc.info/?l=linux-kernel&m=128978361700898&w=2

>

> Can we have this patch back ported into the current kernel for Fedora 14 and

> possibly posted as an update? :)



This appears completely backwards to me. Attaching things like this to a

TTY is just wrong, because normally we don't have a single TTY around on

most graphical sessions.



The kernel doesn't really have a notion of what a "session" is (only the

audit subsystem kinda has), but if this grouping behaviour is supposed

to be bound to a session, then attaching it to a TTY is a pretty shitty

replacement.



Dhaval Giani pointed out to me that the same can be done from userspace

simply by creating a cgroup for each session in the cpu hierarchy. Turns

out systemd actually does pretty much that, except in the named systemd

hierarchy. It is trivial modification to create a group in both hierarchies.



Lennart



--

Lennart Poettering - Red Hat, Inc.

--

devel mailing list

devel@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/devel



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Josh Stone 11-16-2010 06:02 PM

sched_autogroup interactivity patch for the desktop
 
On 11/16/2010 09:14 AM, Lennart Poettering wrote:
> This appears completely backwards to me. Attaching things like this to a
> TTY is just wrong, because normally we don't have a single TTY around on
> most graphical sessions.
>
> The kernel doesn't really have a notion of what a "session" is (only the
> audit subsystem kinda has), but if this grouping behaviour is supposed
> to be bound to a session, then attaching it to a TTY is a pretty shitty
> replacement.

I think the TTY granularity for autogroups is *intentionally* finer than
session granularity, which is why Linus' running kbuild doesn't
interfere with the rest of his desktop.

So if we confirm that this is a win, then I hope you also make sure that
systemd's grouping doesn't interfere with autogrouping benefits. That
could just mean that systemd explicitly does what autogroup is
implicitly doing.

Josh
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


All times are GMT. The time now is 05:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.