Re: /etc/rc.d/mountcritremote

2010-09-01 Thread Daniel Braniss
On Tue, 2010-08-31 at 10:45 -0700, Dirk-WIllem van Gulik wrote: On 31 Aug 2010, at 17:16, Sean Bruno wrote: An issue in testing came up where we were trying to mount NFS directories from the same server, i.e. a machine trying to mount an NFS dir on itself. Because

Re: nsswitch man page

2010-09-01 Thread Michael Bushkov
If you don't mind, as I've worked extensively with nsswitch, I can check the current implementation and provide you a patch to update the docs. On Wed, Sep 1, 2010 at 12:18 AM, Ivan Voras ivo...@freebsd.org wrote: I'm trying to do something with NSS and I see that NetBSD has much better

Re: nsswitch man page

2010-09-01 Thread Ivan Voras
On 09/01/10 08:16, Michael Bushkov wrote: If you don't mind, as I've worked extensively with nsswitch, I can check the current implementation and provide you a patch to update the docs. Of course, go ahead. ___ freebsd-hackers@freebsd.org mailing

Re: One-shot-oriented event timers management

2010-09-01 Thread Gary Jennejohn
On Wed, 01 Sep 2010 00:27:36 +0300 Alexander Motin m...@freebsd.org wrote: Gary Jennejohn wrote: On Mon, 30 Aug 2010 13:07:38 +0300 Alexander Motin m...@freebsd.org wrote: Yes, as I have said, at this moment empty ticks skipped only while CPU is in C2/C3 states. In C1 state there is no

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Motin
Alexander Motin wrote: Gary Jennejohn wrote: On Mon, 30 Aug 2010 12:11:48 +0200 OK, this is purely anecdotal, but I'll report it anyway. I was running pretty much all day with the patched kernel and things seemed to be working quite well. Then, after about 7 hours, everything just stopped.

Re: One-shot-oriented event timers management

2010-09-01 Thread Gary Jennejohn
On Wed, 01 Sep 2010 13:44:26 +0300 Alexander Motin m...@freebsd.org wrote: Alexander Motin wrote: Gary Jennejohn wrote: On Mon, 30 Aug 2010 12:11:48 +0200 OK, this is purely anecdotal, but I'll report it anyway. I was running pretty much all day with the patched kernel and things

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Motin
Gary Jennejohn wrote: On Wed, 01 Sep 2010 13:44:26 +0300 Alexander Motin m...@freebsd.org wrote: I have reproduced the problem locally. It happens more often when ticks are not stopped on idle, like in your original case (or if explicitly enabled by kern.eventtimer.idletick sysctl). I've

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Motin
Alexander Leidinger wrote: Quoting Alexander Motin m...@freebsd.org (from Sun, 29 Aug 2010 16:10:00 +0300): I have actively tested this code for a few days on my amd64 Core2Duo laptop and i386 Core-i5 desktop system. With C2/C3 states enabled systems experience only about 100-150 interrupts

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Leidinger
Quoting Alexander Motin m...@freebsd.org (from Sun, 29 Aug 2010 16:10:00 +0300): I have actively tested this code for a few days on my amd64 Core2Duo laptop and i386 Core-i5 desktop system. With C2/C3 states enabled systems experience only about 100-150 interrupts per second, having HZ set to

Re: One-shot-oriented event timers management

2010-09-01 Thread Gary Jennejohn
On Wed, 1 Sep 2010 14:15:41 +0200 Gary Jennejohn gljennj...@googlemail.com wrote: On Wed, 01 Sep 2010 13:44:26 +0300 Alexander Motin m...@freebsd.org wrote: Updated patch: http://people.freebsd.org/~mav/timers_oneshot6.patch Patch also includes some optimizations to reduce lock

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Motin
Gary Jennejohn wrote: On Wed, 1 Sep 2010 14:15:41 +0200 Gary Jennejohn gljennj...@googlemail.com wrote: On Wed, 01 Sep 2010 13:44:26 +0300 Alexander Motin m...@freebsd.org wrote: Updated patch: http://people.freebsd.org/~mav/timers_oneshot6.patch Patch also includes some optimizations to

Re: One-shot-oriented event timers management

2010-09-01 Thread Brandon Gooch
On Wed, Sep 1, 2010 at 5:44 AM, Alexander Motin m...@freebsd.org wrote: Alexander Motin wrote: Gary Jennejohn wrote: On Mon, 30 Aug 2010 12:11:48 +0200 OK, this is purely anecdotal, but I'll report it anyway. I was running pretty much all day with the patched kernel and things seemed to be

Re: expand_number() for fetch'es -B and -S switches

2010-09-01 Thread Dag-Erling Smørgrav
Alexander Best arun...@freebsd.org writes: just having a quick look around to see, if anybody would be interested in fetch -B and fetch -S accepting humanized numbers using expand_number()? I can understand it for -B, but not for -S, since in the common case (by 1023 to 1, assuming a random

/stand/camcontrol

2010-09-01 Thread Dag-Erling Smørgrav
Consider the following commit: r89471 | joerg | 2002-01-17 21:26:14 +0100 (Thu, 17 Jan 2002) | 8 lines Provide an option to make camcontrol `minimalistic': if the (env/make) variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will be built that only knows the rescan and reset

Re: One-shot-oriented event timers management

2010-09-01 Thread Alexander Motin
Brandon Gooch wrote: This latest patch causes an interrupt storm with the HPET timer on my system. The machine took about 8 minutes to boot and bring me to a login prompt. System interactivity (i.e. input from keyboard, output on console) was fine, but after checking the output of `systat

Re: /stand/camcontrol

2010-09-01 Thread Xin LI
2010/9/1 Dag-Erling Smørgrav d...@des.no: Consider the following commit:  r89471 | joerg | 2002-01-17 21:26:14 +0100 (Thu, 17 Jan 2002) | 8 lines  Provide an option to make camcontrol `minimalistic': if the (env/make)  variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will be  

Re: expand_number() for fetch'es -B and -S switches

2010-09-01 Thread Alexander Best
On Wed Sep 1 10, Dag-Erling Smørgrav wrote: Alexander Best arun...@freebsd.org writes: just having a quick look around to see, if anybody would be interested in fetch -B and fetch -S accepting humanized numbers using expand_number()? I can understand it for -B, but not for -S, since in

porting cputick2usec() to userland

2010-09-01 Thread Alexander Best
hi there, there was a thread some time ago related to porting cputick2usec() to userland [1]. however it seems the idea got lost at some point. i remember uqs working on an implementation, but can't remember the details. a few people including uqs and jhb liked the idea. any comments on that?

Re: porting cputick2usec() to userland

2010-09-01 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/09/01 16:03, Alexander Best wrote: hi there, there was a thread some time ago related to porting cputick2usec() to userland [1]. however it seems the idea got lost at some point. i remember uqs working on an implementation, but

Re: One-shot-oriented event timers management

2010-09-01 Thread Brandon Gooch
On Wed, Sep 1, 2010 at 2:16 PM, Alexander Motin m...@freebsd.org wrote: Brandon Gooch wrote: This latest patch causes an interrupt storm with the HPET timer on my system. The machine took about 8 minutes to boot and bring me to a login prompt. System interactivity (i.e. input from keyboard,

RE: Support for WD Advanced Format disks

2010-09-01 Thread Andresen, Jason R.
From: Dag-Erling Smørgrav: Ilya Bakulin webmas...@kibab.com writes: May you suggest any other tests? What other tests? The disks suck, how are more tests going to improve the situation? Or let's live with sucking WD Green and look for other 4096K-sector models from other manufacturers? I