Re: TTY task group scheduling

2010-11-20 Thread Bruce Evans
On Fri, 19 Nov 2010, Kostik Belousov wrote: On Fri, Nov 19, 2010 at 11:50:49AM +0200, Andriy Gapon wrote: on 19/11/2010 11:46 Bruce Cran said the following: [removed current@ and stable@ from the Cc list] On Fri, 19 Nov 2010 15:41:29 +1100 Andrew Reilly wrote: On Linux. Have you ever seen

Re: TTY task group scheduling

2010-11-19 Thread Garrett Cooper
On Fri, Nov 19, 2010 at 5:27 PM, Oliver Pinter wrote: > My desktop running 7-STABLE with 100Hz and NOPREEMPT (it's a 4core SMP > system), > I tested 8-STABLE, but that is not too responsive, the solution is: > 100Hz NOPREEMPT + kern.sched.preempt_thresh=224 > After this setting, the system is lik

Re: TTY task group scheduling

2010-11-19 Thread Oliver Pinter
My desktop running 7-STABLE with 100Hz and NOPREEMPT (it's a 4core SMP system), I tested 8-STABLE, but that is not too responsive, the solution is: 100Hz NOPREEMPT + kern.sched.preempt_thresh=224 After this setting, the system is likely responsive as 7-STABLE. On 11/19/10, Garrett Cooper wrote: >

Re: TTY task group scheduling

2010-11-19 Thread Dan Nelson
In the last episode (Nov 19), Alexander Leidinger said: > Quoting Alexander Best (from Fri, 19 Nov 2010 00:17:10 > +): > > 17:51 @ Genesys : Luigi Rizzo had a plugabble scheduler back in 4.* or > > thereabouts > > 17:51 @ Genesys : you could kldload new ones and switch to them on the fly >

Re: TTY task group scheduling

2010-11-19 Thread Garrett Cooper
On Fri, Nov 19, 2010 at 1:10 PM, Oliver Pinter wrote: > http://lkml.org/lkml/2010/11/16/392 > > On 11/18/10, O. Hartmann wrote: >> On 11/18/10 02:30, grarpamp wrote: >>> Just documenting regarding interactive performance things. >>> This one's from Linux. >>> >>> http://www.phoronix.com/scan.php?

Re: TTY task group scheduling

2010-11-19 Thread Oliver Pinter
http://lkml.org/lkml/2010/11/16/392 On 11/18/10, O. Hartmann wrote: > On 11/18/10 02:30, grarpamp wrote: >> Just documenting regarding interactive performance things. >> This one's from Linux. >> >> http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1 > > Well, > it would be

Re: TTY task group scheduling

2010-11-19 Thread dieterbsd
Alexander writes: One thing that just begs to be asked: since when decoding 1080p became an interactive task? Normally, decoding video would not be considered an interactive task, unless you are doing things like stepping through frame-by-frame. Playing video, and/or audio is a true real time

Re: TTY task group scheduling

2010-11-19 Thread Taku YAMAMOTO
On Thu, 18 Nov 2010 21:30:16 +0100 "O. Hartmann" wrote: > On 11/18/10 19:55, Lucius Windschuh wrote: > > 2010/11/18 Andriy Gapon: > >> [Grouping of processes into TTY groups] > >> > >> Well, I think that those improvements apply only to a very specific usage > >> pattern > >> and are greatly ove

Re: TTY task group scheduling

2010-11-19 Thread Jeremy Chadwick
On Fri, Nov 19, 2010 at 02:18:52PM +, Vincent Hoffman wrote: > On 19/11/2010 12:42, Eric Masson wrote: > > Bruce Cran writes: > > > > Hello, > > > >> Google suggests that the work was a GSoC project in 2005 on a pluggable > >> disk scheduler. > > It seems that something similar has found its w

Re: TTY task group scheduling

2010-11-19 Thread Kostik Belousov
On Fri, Nov 19, 2010 at 11:50:49AM +0200, Andriy Gapon wrote: > on 19/11/2010 11:46 Bruce Cran said the following: > > [removed current@ and stable@ from the Cc list] > > > > On Fri, 19 Nov 2010 15:41:29 +1100 > > Andrew Reilly wrote: > > > >> On Linux. Have you ever seen those sorts of UI prob

Re: TTY task group scheduling

2010-11-19 Thread Vincent Hoffman
On 19/11/2010 12:42, Eric Masson wrote: > Bruce Cran writes: > > Hello, > >> Google suggests that the work was a GSoC project in 2005 on a pluggable >> disk scheduler. > It seems that something similar has found its way in DFlyBSD, dsched. And indeed to FreeBSD, man gsched. Added sometime round Ap

Re: TTY task group scheduling

2010-11-19 Thread Andriy Gapon
on 18/11/2010 22:20 Julian Elischer said the following: > tty grouping is a variant of what we used to have at one stage which is > a "kernel schedulable entity group".. KSEG Or rather, I think, a concrete application of a variant of that. > the idea is that all items in a group share some charac

Re: TTY task group scheduling

2010-11-19 Thread Eric Masson
Bruce Cran writes: Hello, > Google suggests that the work was a GSoC project in 2005 on a pluggable > disk scheduler. It seems that something similar has found its way in DFlyBSD, dsched. Éric Masson -- manquerait plus que les groupes soient pollués. c'est beaucoup plus grave que des plage

Re: TTY task group scheduling

2010-11-19 Thread Alexander Leidinger
Quoting Alexander Best (from Fri, 19 Nov 2010 00:17:10 +): 17:51 @ Genesys : Luigi Rizzo had a plugabble scheduler back in 4.* or \ thereabouts 17:51 @ Genesys : you could kldload new ones and switch to them on the fly 17:52 @ arundel : wow. that sounds cool. too bad it didn't make i

Re: TTY task group scheduling

2010-11-19 Thread Andriy Gapon
on 19/11/2010 11:46 Bruce Cran said the following: > [removed current@ and stable@ from the Cc list] > > On Fri, 19 Nov 2010 15:41:29 +1100 > Andrew Reilly wrote: > >> On Linux. Have you ever seen those sorts of UI problems on FreeBSD? >> I don't watch much video on my systems, but I haven't se

Re: TTY task group scheduling

2010-11-19 Thread Bruce Cran
On Fri, 19 Nov 2010 00:17:10 + Alexander Best wrote: > 17:51 @ Genesys : Luigi Rizzo had a plugabble scheduler back in 4.* > or \ thereabouts > 17:51 @ Genesys : you could kldload new ones and switch to them on > the fly 17:52 @ arundel : wow. that sounds cool. too bad it didn't > make it

Re: TTY task group scheduling

2010-11-19 Thread Andriy Gapon
on 19/11/2010 00:55 Daniel Nebdal said the following: > On Fri, Nov 19, 2010 at 12:06 AM, Alexander Kabaev wrote: >> On Thu, 18 Nov 2010 18:56:35 + >> Alexander Best wrote: >>> well...i tried playing back a 1080p vide files while doing >>> `make -j64 buildkernel` and FreeBSD's interactivity s

Re: TTY task group scheduling

2010-11-19 Thread Andriy Gapon
on 18/11/2010 20:56 Alexander Best said the following: > On Thu Nov 18 10, Matthew D. Fuller wrote: >> On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of >> Alexander Best, and lo! it spake thus: >>> >>> judging from the videos the changes are having a huge impact imo. >> >> Well, my (ad

Re: TTY task group scheduling

2010-11-19 Thread Andrew Reilly
On Thu, Nov 18, 2010 at 06:23:24PM +, Alexander Best wrote: > you think so? judging from the videos the changes are having a huge impact > imo. On Linux. Have you ever seen those sorts of UI problems on FreeBSD? I don't watch much video on my systems, but I haven't seen that. FreeBSD has a

Re: TTY task group scheduling

2010-11-19 Thread O. Hartmann
On 11/19/10 10:46, Bruce Cran wrote: [removed current@ and stable@ from the Cc list] On Fri, 19 Nov 2010 15:41:29 +1100 Andrew Reilly wrote: On Linux. Have you ever seen those sorts of UI problems on FreeBSD? I don't watch much video on my systems, but I haven't seen that. FreeBSD has always

Re: TTY task group scheduling

2010-11-19 Thread Bruce Cran
On Fri, 19 Nov 2010 11:50:49 +0200 Andriy Gapon wrote: > So, what was it a problem with scheduler or with, e.g., "something X" > being too slow rendering glyphs? Who can tell... There are too many components involved when running the Linux benchmark of running a build to know the scheduler is a

Re: TTY task group scheduling

2010-11-19 Thread Bruce Cran
[removed current@ and stable@ from the Cc list] On Fri, 19 Nov 2010 15:41:29 +1100 Andrew Reilly wrote: > On Linux. Have you ever seen those sorts of UI problems on FreeBSD? > I don't watch much video on my systems, but I haven't seen that. > FreeBSD has always been good at keeping user-interac

Re: TTY task group scheduling

2010-11-18 Thread David Magda
On Nov 18, 2010, at 18:43, Julian Elischer wrote: we are part of the way there.. at least we did abstract the scheduler to the point where we have two completely different ones. you are welcome to develop a 'framework as you describe and plug it into the abstraction we already have. It

Re: TTY task group scheduling

2010-11-18 Thread David Xu
Lucius Windschuh wrote: 2010/11/18 Bruce Cran : Have you tried increasing kern.sched.preempt_thresh? According to http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/05a39f816fd8acc6/82affa9f195b747d?lnk=raot&fwc=1&pli=1 a good value for desktop use would be 224. Hmm, I

Re: TTY task group scheduling

2010-11-18 Thread Paul B Mahol
On Thu, Nov 18, 2010 at 11:23 PM, Lucius Windschuh wrote: > 2010/11/18 Bruce Cran : >>Have you tried increasing kern.sched.preempt_thresh? According to >>http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/05a39f816fd8acc6/82affa9f195b747d?lnk=raot&fwc=1&pli=1 >>a good value

Re: TTY task group scheduling

2010-11-18 Thread Alexander Best
On Thu Nov 18 10, Julian Elischer wrote: > On 11/18/10 3:37 PM, Alexander Best wrote: > >On Fri Nov 19 10, Daniel Nebdal wrote: > >>On Fri, Nov 19, 2010 at 12:06 AM, Alexander Kabaev > >>wrote: > >>>On Thu, 18 Nov 2010 18:56:35 + > >>>Alexander Best wrote: > >>> > On Thu Nov 18 10, Matth

Re: TTY task group scheduling

2010-11-18 Thread Garrett Cooper
On Thu, Nov 18, 2010 at 3:12 PM, Steve Kargl wrote: > On Thu, Nov 18, 2010 at 10:59:43PM +, Alexander Best wrote: >> >> well i did exactly what they did in the video. watch a 1080p video and move >> the output window around while compiling the kernel. >> > > It is trivial to bring ULE to its k

Re: TTY task group scheduling

2010-11-18 Thread Alexander Best
On Fri Nov 19 10, Daniel Nebdal wrote: > On Fri, Nov 19, 2010 at 12:06 AM, Alexander Kabaev wrote: > > On Thu, 18 Nov 2010 18:56:35 + > > Alexander Best wrote: > > > >> On Thu Nov 18 10, Matthew D. Fuller wrote: > >> > On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of > >> > Alexa

Re: TTY task group scheduling

2010-11-18 Thread Julian Elischer
On 11/18/10 3:37 PM, Alexander Best wrote: On Fri Nov 19 10, Daniel Nebdal wrote: On Fri, Nov 19, 2010 at 12:06 AM, Alexander Kabaev wrote: On Thu, 18 Nov 2010 18:56:35 + Alexander Best wrote: On Thu Nov 18 10, Matthew D. Fuller wrote: On Thu, Nov 18, 2010 at 06:23:24PM + I heard t

Re: TTY task group scheduling

2010-11-18 Thread Daniel Nebdal
On Fri, Nov 19, 2010 at 12:06 AM, Alexander Kabaev wrote: > On Thu, 18 Nov 2010 18:56:35 + > Alexander Best wrote: > >> On Thu Nov 18 10, Matthew D. Fuller wrote: >> > On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of >> > Alexander Best, and lo! it spake thus: >> > > >> > > judgi

Re: TTY task group scheduling

2010-11-18 Thread Lucius Windschuh
2010/11/18 Bruce Cran : >Have you tried increasing kern.sched.preempt_thresh? According to >http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/05a39f816fd8acc6/82affa9f195b747d?lnk=raot&fwc=1&pli=1 >a good value for desktop use would be 224. Hmm, I though I tried this -- bu

Re: TTY task group scheduling

2010-11-18 Thread Steve Kargl
On Thu, Nov 18, 2010 at 10:59:43PM +, Alexander Best wrote: > > well i did exactly what they did in the video. watch a 1080p video and move > the output window around while compiling the kernel. > It is trivial to bring ULE to its knees. If you have N cores then all you need is N+1 cpu int

Re: TTY task group scheduling

2010-11-18 Thread Alexander Best
On Thu Nov 18 10, Alexander Kabaev wrote: > On Thu, 18 Nov 2010 18:56:35 + > Alexander Best wrote: > > > On Thu Nov 18 10, Matthew D. Fuller wrote: > > > On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of > > > Alexander Best, and lo! it spake thus: > > > > > > > > judging from th

Re: TTY task group scheduling

2010-11-18 Thread dieterbsd
Lucius writes: > And using "idprio 1 $cmd" as a workaround is, well, a kludge. You have to be root to use idprio, requiring a suid wrapper, which strikes me as kludgy. The worst part is that idprio and rtprio don't entirely work. An idprio process can still interfere with a rtprio process. :-( R

Re: TTY task group scheduling

2010-11-18 Thread Alexander Kabaev
On Thu, 18 Nov 2010 18:56:35 + Alexander Best wrote: > On Thu Nov 18 10, Matthew D. Fuller wrote: > > On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of > > Alexander Best, and lo! it spake thus: > > > > > > judging from the videos the changes are having a huge impact imo. > > >

Re: TTY task group scheduling

2010-11-18 Thread Matthew D. Fuller
[ Trim CC a bit] On Thu, Nov 18, 2010 at 06:56:35PM + I heard the voice of Alexander Best, and lo! it spake thus: > On Thu Nov 18 10, Matthew D. Fuller wrote: > > > > Well, my (admittedly limited, and certainly anecdotal) experience > > is that Linux's interactive response when under heavy lo

Re: TTY task group scheduling

2010-11-18 Thread O. Hartmann
On 11/18/10 19:55, Lucius Windschuh wrote: 2010/11/18 Andriy Gapon: [Grouping of processes into TTY groups] Well, I think that those improvements apply only to a very specific usage pattern and are greatly over-hyped. But there are serious issue if you use FreeBSD as a desktop OS with SMP an

Re: TTY task group scheduling

2010-11-18 Thread O. Hartmann
On 11/18/10 19:28, Matthew D. Fuller wrote: On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of Alexander Best, and lo! it spake thus: judging from the videos the changes are having a huge impact imo. Well, my (admittedly limited, and certainly anecdotal) experience is that Linux's

Re: TTY task group scheduling

2010-11-18 Thread Bruce Cran
On Thu, 18 Nov 2010 19:55:05 +0100 Lucius Windschuh wrote: > Because currently, my machine is barely usable if a compile job with > parallelism is running. Movies stutter, Firefox hangs. And even nice > -n 20 doesn't do the job in every case, as +20 seems not to be the > idle priority anymore?!?

Re: TTY task group scheduling

2010-11-18 Thread Bruce Cran
[removed current and stable from Cc list] On Thu, 18 Nov 2010 19:55:05 +0100 Lucius Windschuh wrote: > Because currently, my machine is barely usable if a compile job with > parallelism is running. Movies stutter, Firefox hangs. And even nice > -n 20 doesn't do the job in every case, as +20 seem

Re: TTY task group scheduling

2010-11-18 Thread Julian Elischer
On 11/18/10 10:55 AM, Lucius Windschuh wrote: 2010/11/18 Andriy Gapon: [Grouping of processes into TTY groups] Well, I think that those improvements apply only to a very specific usage pattern and are greatly over-hyped. But there are serious issue if you use FreeBSD as a desktop OS with SMP

Re: TTY task group scheduling

2010-11-18 Thread Freddie Cash
On Thu, Nov 18, 2010 at 10:56 AM, Alexander Best wrote: > On Thu Nov 18 10, Matthew D. Fuller wrote: >> On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of >> Alexander Best, and lo! it spake thus: >> > >> > judging from the videos the changes are having a huge impact imo. >> >> Well, my

Re: TTY task group scheduling

2010-11-18 Thread Chuck Swiger
On Nov 18, 2010, at 10:23 AM, Alexander Best wrote: > On Thu Nov 18 10, Andriy Gapon wrote: >> on 18/11/2010 13:04 O. Hartmann said the following: >>> On 11/18/10 02:30, grarpamp wrote: Just documenting regarding interactive performance things. This one's from Linux. http://www

Re: TTY task group scheduling

2010-11-18 Thread Lucius Windschuh
2010/11/18 Andriy Gapon : > [Grouping of processes into TTY groups] > > Well, I think that those improvements apply only to a very specific usage > pattern > and are greatly over-hyped. But there are serious issue if you use FreeBSD as a desktop OS with SMP and SCHED_ULE, or? Because currently, m

Re: TTY task group scheduling

2010-11-18 Thread Rob Farmer
On Thu, Nov 18, 2010 at 10:39, Chuck Swiger wrote: > Frankly, I'm also turned off by the attempt to popup a full page ad in > addition to the rest of the advertising content which surrounds what is > nominally supposed to be the real content.  That doesn't mean there is > anything wrong with th

Re: TTY task group scheduling

2010-11-18 Thread Alexander Best
On Thu Nov 18 10, Matthew D. Fuller wrote: > On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of > Alexander Best, and lo! it spake thus: > > > > judging from the videos the changes are having a huge impact imo. > > Well, my (admittedly limited, and certainly anecdotal) experience is >

Re: TTY task group scheduling

2010-11-18 Thread Matthew D. Fuller
On Thu, Nov 18, 2010 at 06:23:24PM + I heard the voice of Alexander Best, and lo! it spake thus: > > judging from the videos the changes are having a huge impact imo. Well, my (admittedly limited, and certainly anecdotal) experience is that Linux's interactive response when under heavy load w

Re: TTY task group scheduling

2010-11-18 Thread Andriy Gapon
on 18/11/2010 13:04 O. Hartmann said the following: > On 11/18/10 02:30, grarpamp wrote: >> Just documenting regarding interactive performance things. >> This one's from Linux. >> >> http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1 > > Well, > it would be nice to have thos

Re: TTY task group scheduling

2010-11-18 Thread O. Hartmann
On 11/18/10 02:30, grarpamp wrote: Just documenting regarding interactive performance things. This one's from Linux. http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1 Well, it would be nice to have those improvements in FreeBSD, but I doubt this will make it in due tim

TTY task group scheduling

2010-11-17 Thread grarpamp
Just documenting regarding interactive performance things. This one's from Linux. http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1 ___ freebsd-performance@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd