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 (admittedly

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 kab...@gmail.com wrote: On Thu, 18 Nov 2010 18:56:35 + Alexander Best arun...@freebsd.org wrote: well...i tried playing back a 1080p vide files while doing `make -j64 buildkernel` and

Re: old references to vfs_mountroot_try()

2010-11-19 Thread Sergey Kandaurov
On 19 November 2010 02:14, Alexander Best arun...@freebsd.org wrote: hi there, vfs_mountroot_try() seems to have been removed, yet the src still contains three references to it: vfs_mount.c:386 vfs_mount.c:723 freebsd32_misc.c:2368 So, what about just to rename those comments to reflect

Re: [RFC] ifconfig description support in rc.d

2010-11-19 Thread Sergey Kandaurov
On 11 October 2010 14:29, Hiroki Sato h...@freebsd.org wrote: Hi, pluknet pluk...@gmail.com wrote  in aanlktintgji3vzrb8xuuqhwp+7ydvhtd7ynp0mmv0...@mail.gmail.com: pl On 27 August 2010 00:09, Doug Barton do...@freebsd.org wrote: pl On 08/26/2010 12:53 PM, pluknet wrote: pl pl [cc'ing

Re: TTY task group scheduling

2010-11-19 Thread Bruce Cran
On Fri, 19 Nov 2010 00:17:10 + Alexander Best arun...@freebsd.org 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

Re: TTY task group scheduling

2010-11-19 Thread Alexander Leidinger
Quoting Alexander Best arun...@freebsd.org (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

Re: old references to vfs_mountroot_try()

2010-11-19 Thread Alexander Best
On Fri Nov 19 10, Sergey Kandaurov wrote: On 19 November 2010 02:14, Alexander Best arun...@freebsd.org wrote: hi there, vfs_mountroot_try() seems to have been removed, yet the src still contains three references to it: vfs_mount.c:386 vfs_mount.c:723 freebsd32_misc.c:2368

Re: Testing /dev/fido ?

2010-11-19 Thread Ivan Voras
On 19 November 2010 01:56, Sean Bruno sean...@yahoo-inc.com wrote: On Thu, 2010-11-18 at 13:17 -0800, Ivan Voras wrote: I have an IPMI-enabled server with BMC watchdog, and if I understand it correctly, /dev/fido will be attached as the result of loading ipmi.ko. Is there some easy way to

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

Re: TTY task group scheduling

2010-11-19 Thread Eric Masson
Bruce Cran br...@cran.org.uk 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

Re: TTY task group scheduling

2010-11-19 Thread Vincent Hoffman
On 19/11/2010 12:42, Eric Masson wrote: Bruce Cran br...@cran.org.uk 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

Re: aperf/mperf

2010-11-19 Thread Andriy Gapon
I am thinking about providing two APIs for this. 1. KPI void cpu_get_a_m_perf(u_int cpu, uint64_t *aperf, uint64_t *mperf); 2. Userland sysctl dev.cpu.N.aperf_mperf that returns two UQUAD values. But I am not sure where to put the code for both APIs. Adding another device under cpu seems like

Re: aperf/mperf

2010-11-19 Thread Daniel Nebdal
On Fri, Nov 19, 2010 at 4:39 PM, Andriy Gapon a...@freebsd.org wrote: I am thinking about providing two APIs for this. 1. KPI void cpu_get_a_m_perf(u_int cpu, uint64_t *aperf, uint64_t *mperf); 2. Userland sysctl dev.cpu.N.aperf_mperf that returns two UQUAD values. But I am not sure

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 br...@cran.org.uk 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

Re: www/chromium crashing whole system

2010-11-19 Thread Alexander Best
On Tue Nov 16 10, Robert N. M. Watson wrote: On 15 Nov 2010, at 22:19, Alexander Best wrote: thanks for all your help. i've recently switched to chromium 6.0.472.63 and so far my computer has been very stable. if i experience more lock ups i'll let you know and try to figure out a

new cpuid bits

2010-11-19 Thread Andriy Gapon
Guys, I would like to add definitions for couple more useful CPUID bits, but I am greatly confused about how to name them. I failed to deduce the naming convention from the existing definitions and I am not sure how to make the names proper and descriptive. The bits in question are returned by

A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
I have a large-ish marchine, a Fujitsu TX300 S6 with 2x6-core + HTT CPUs and 24 GB RAM, configured as a demo machine with lots of interesting hardware. Unfortunately, the kernel hangs on boot. The loader finishes, the twirly starts spinning but then hangs. Enabling verbose booting results in

Re: aperf/mperf

2010-11-19 Thread Andriy Gapon
[looks like I originally sent the reply only privately] on 19/11/2010 16:50 Daniel Nebdal said the following: On Fri, Nov 19, 2010 at 4:39 PM, Andriy Gapon a...@freebsd.org wrote: I am thinking about providing two APIs for this. 1. KPI void cpu_get_a_m_perf(u_int cpu, uint64_t *aperf,

Re: TTY task group scheduling

2010-11-19 Thread Taku YAMAMOTO
On Thu, 18 Nov 2010 21:30:16 +0100 O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: On 11/18/10 19:55, Lucius Windschuh wrote: 2010/11/18 Andriy Gapona...@freebsd.org: [Grouping of processes into TTY groups] Well, I think that those improvements apply only to a very specific usage

Re: A big-ish machine, cannot boot

2010-11-19 Thread Andriy Gapon
on 19/11/2010 17:41 Ivan Voras said the following: Fujitsu TX300 [Thunderbird 3 sometimes fails quoting while replying - blame it] Perhaps I am wrong, but isn't the twirly shown by the loader, still? Not sure if the kernel does that. -- Andriy Gapon

Re: A big-ish machine, cannot boot

2010-11-19 Thread Gary Jennejohn
On Fri, 19 Nov 2010 17:51:22 +0200 Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan Voras said the following: Fujitsu TX300 [Thunderbird 3 sometimes fails quoting while replying - blame it] Perhaps I am wrong, but isn't the twirly shown by the loader, still? Not sure if the

Re: taskqueue_create() name parameter lieftime

2010-11-19 Thread Andriy Gapon
on 16/11/2010 15:27 John Baldwin said the following: On Tuesday, November 16, 2010 7:20:47 am Andriy Gapon wrote: taskqueue_create() documentation never explicitly says this, but current taskqueue_create() implementation just stores a 'name' pointer parameter internally. Thus it depends on

Re: new cpuid bits

2010-11-19 Thread Gary Jennejohn
On Fri, 19 Nov 2010 17:39:53 +0200 Andriy Gapon a...@freebsd.org wrote: Guys, I would like to add definitions for couple more useful CPUID bits, but I am greatly confused about how to name them. I failed to deduce the naming convention from the existing definitions and I am not sure

Re: A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
On 19 November 2010 16:51, Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan Voras said the following: Fujitsu TX300 [Thunderbird 3 sometimes fails quoting while replying - blame it] Perhaps I am wrong, but isn't the twirly shown by the loader, still? Not sure if the kernel does

Re: A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
On 19 November 2010 17:13, Gary Jennejohn gljennj...@googlemail.com wrote: On Fri, 19 Nov 2010 17:51:22 +0200 Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan Voras said the following: Fujitsu TX300 [Thunderbird 3 sometimes fails quoting while replying - blame it] Perhaps I

Re: A big-ish machine, cannot boot

2010-11-19 Thread Andriy Gapon
on 19/11/2010 18:57 Ivan Voras said the following: On 19 November 2010 17:13, Gary Jennejohn gljennj...@googlemail.com wrote: On Fri, 19 Nov 2010 17:51:22 +0200 Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan Voras said the following: Fujitsu TX300 [Thunderbird 3 sometimes

Re: A big-ish machine, cannot boot

2010-11-19 Thread Garrett Cooper
On Fri, Nov 19, 2010 at 8:59 AM, Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 18:57 Ivan Voras said the following: On 19 November 2010 17:13, Gary Jennejohn gljennj...@googlemail.com wrote: On Fri, 19 Nov 2010 17:51:22 +0200 Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan

Re: A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
On 19 November 2010 17:59, Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 18:57 Ivan Voras said the following: On 19 November 2010 17:13, Gary Jennejohn gljennj...@googlemail.com wrote: On Fri, 19 Nov 2010 17:51:22 +0200 Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan Voras

Re: A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
On 19 November 2010 18:04, Garrett Cooper gcoo...@freebsd.org wrote: A similar issue occurred with an HP box recently (in the last 3-4 months?). I'd check the archives for more details. Yes, I remembered the post by Sean Bruno but then I also remembered people replying they have successfully

Re: old references to vfs_mountroot_try()

2010-11-19 Thread Marcel Moolenaar
On Nov 19, 2010, at 2:09 AM, Sergey Kandaurov wrote: On 19 November 2010 02:14, Alexander Best arun...@freebsd.org wrote: hi there, vfs_mountroot_try() seems to have been removed, yet the src still contains three references to it: vfs_mount.c:386 vfs_mount.c:723 freebsd32_misc.c:2368

Re: [RFC] ifconfig description support in rc.d

2010-11-19 Thread Garrett Cooper
On Fri, Nov 19, 2010 at 2:55 AM, Sergey Kandaurov pluk...@gmail.com wrote: On 11 October 2010 14:29, Hiroki Sato h...@freebsd.org wrote: Hi, pluknet pluk...@gmail.com wrote  in aanlktintgji3vzrb8xuuqhwp+7ydvhtd7ynp0mmv0...@mail.gmail.com: pl On 27 August 2010 00:09, Doug Barton

Re: A big-ish machine, cannot boot

2010-11-19 Thread James R. Van Artsdalen
Ivan Voras wrote: Unfortunately, the kernel hangs on boot. The loader finishes, the twirly starts spinning but then hangs. Enabling verbose booting results in nothing new - no kernel messages at all. I don't think loader finishes is correct. Can you break to the loader command line at the

Re: taskqueue_create() name parameter lieftime

2010-11-19 Thread John Baldwin
On Friday, November 19, 2010 11:20:04 am Andriy Gapon wrote: on 16/11/2010 15:27 John Baldwin said the following: On Tuesday, November 16, 2010 7:20:47 am Andriy Gapon wrote: taskqueue_create() documentation never explicitly says this, but current taskqueue_create() implementation just

Re: A big-ish machine, cannot boot

2010-11-19 Thread Andriy Gapon
on 19/11/2010 20:02 Sean Bruno said the following: What I've seen is that the long pause occurs between the display of the SMAP (boot verbose) and the copywrite notice. The delay gets worse with larger memory maps. How much memory do we talk about? I wonder if it could be the code that

Re: A big-ish machine, cannot boot

2010-11-19 Thread Jung-uk Kim
On Friday 19 November 2010 12:04 pm, Garrett Cooper wrote: On Fri, Nov 19, 2010 at 8:59 AM, Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 18:57 Ivan Voras said the following: On 19 November 2010 17:13, Gary Jennejohn gljennj...@googlemail.com wrote: On Fri, 19 Nov 2010 17:51:22 +0200

Re: A big-ish machine, cannot boot

2010-11-19 Thread Sean Bruno
On Fri, 2010-11-19 at 09:08 -0800, Ivan Voras wrote: On 19 November 2010 18:04, Garrett Cooper gcoo...@freebsd.org wrote: A similar issue occurred with an HP box recently (in the last 3-4 months?). I'd check the archives for more details. Yes, I remembered the post by Sean Bruno but then I

Re: [Call for Tests] PAT issue on Apple hardware

2010-11-19 Thread Jung-uk Kim
On Tuesday 16 November 2010 03:30 pm, Jung-uk Kim wrote: On Monday 15 November 2010 08:36 pm, Jung-uk Kim wrote: Often times I hear complaints like my Mac hangs after upgrading to 8.1 or snapshot CD hangs on my brand new Mac. I know some of these complaints started happening when we

Re: aperf/mperf

2010-11-19 Thread Nate Lawson
On 11/19/2010 6:39 AM, Andriy Gapon wrote: I am thinking about providing two APIs for this. 1. KPI void cpu_get_a_m_perf(u_int cpu, uint64_t *aperf, uint64_t *mperf); 2. Userland sysctl dev.cpu.N.aperf_mperf that returns two UQUAD values. But I am not sure where to put the code for

Re: A big-ish machine, cannot boot

2010-11-19 Thread Antony Mawer
On Sat, Nov 20, 2010 at 2:51 AM, Andriy Gapon a...@freebsd.org wrote: on 19/11/2010 17:41 Ivan Voras said the following: Fujitsu TX300 [Thunderbird 3 sometimes fails quoting while replying - blame it] If you select any text in the message then click reply, it only quotes the selected text

Re: A big-ish machine, cannot boot

2010-11-19 Thread Chuck Swiger
On Nov 19, 2010, at 12:42 PM, Antony Mawer wrote: If you select any text in the message then click reply, it only quotes the selected text (not entirely intuitive, but that's the way they decided to make it work). Ah, yes: https://bugzilla.mozilla.org/show_bug.cgi?id=23394 There's a

Re: www/chromium crashing whole system

2010-11-19 Thread Oliver Pinter
can you try disable the chrome sandbox feature? chmod -s chrome-sandbox mv chrome-sandbox chrome-sandbox.disabled_feature and after this, the problem is still represented? under linux with grsec path, with enabled sandbox, do not started, I know, that is a fully different problem On 11/19/10,

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 ohart...@zedat.fu-berlin.de 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=articleitem=linux_2637_videonum=1 Well,

Re: TTY task group scheduling

2010-11-19 Thread Garrett Cooper
On Fri, Nov 19, 2010 at 1:10 PM, Oliver Pinter oliver.p...@gmail.com wrote: http://lkml.org/lkml/2010/11/16/392 On 11/18/10, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On 11/18/10 02:30, grarpamp wrote: Just documenting regarding interactive performance things. This one's from Linux.

Re: TTY task group scheduling

2010-11-19 Thread Dan Nelson
In the last episode (Nov 19), Alexander Leidinger said: Quoting Alexander Best arun...@freebsd.org (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

Re: A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
On 19 November 2010 18:17, James R. Van Artsdalen james-freebsd-curr...@jrv.org wrote: Ivan Voras wrote: Unfortunately, the kernel hangs on boot. The loader finishes, the twirly starts spinning but then hangs. Enabling verbose booting results in nothing new - no kernel messages at all. I

Re: A big-ish machine, cannot boot

2010-11-19 Thread Ivan Voras
On 11/19/10 19:15, Andriy Gapon wrote: on 19/11/2010 20:02 Sean Bruno said the following: What I've seen is that the long pause occurs between the display of the SMAP (boot verbose) and the copywrite notice. The delay gets worse with larger memory maps. How much memory do we talk about? 24

Re: TTY task group scheduling

2010-11-19 Thread Ivan Voras
On 11/19/10 16:49, Taku YAMAMOTO wrote: I have a dumb local hack to grant ts_slice proportional to the duration the waking thread slept rather than unconditionally reset to sched_slice. --- sys/kern/sched_ule.c.orig +++ sys/kern/sched_ule.c @@ -1928,12 +1928,16 @@ sched_wakeup(struct thread

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

Re: TTY task group scheduling

2010-11-19 Thread Garrett Cooper
On Fri, Nov 19, 2010 at 5:27 PM, Oliver Pinter oliver.p...@gmail.com 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,