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