Hot-changing a failed HDD with ahci.ko

2011-12-14 Thread Patrick M. Hausen
Hi, all, while most cheap servers with SATA disks are not really hot-plug capable, changing a failed disk (either gmirror or zfs) was possible without a reboot by executing e.g. if ad4 failed: atacontrol detach ata2 change disks atacontrol attach ata2 What is the proper equivalent for ahci,

Re: Hot-changing a failed HDD with ahci.ko

2011-12-14 Thread Jeremy Chadwick
On Wed, Dec 14, 2011 at 09:29:52AM +0100, Patrick M. Hausen wrote: Hi, all, while most cheap servers with SATA disks are not really hot-plug capable, changing a failed disk (either gmirror or zfs) was possible without a reboot by executing e.g. if ad4 failed: atacontrol detach ata2

Re: Hot-changing a failed HDD with ahci.ko

2011-12-14 Thread Patrick M. Hausen
Hi! Am 14.12.2011 um 10:26 schrieb Jeremy Chadwick: What is the proper equivalent for ahci, ada0 and camcontrol? None is needed: yank the disk, reinsert, wait a few seconds, done. Validation, with full output, hardware, etc:

Re: SCHED_ULE should not be the default

2011-12-14 Thread George Mitchell
On 12/09/11 19:57, George Mitchell wrote: On 12/09/11 10:17, Attilio Rao wrote: [...] More precisely I'd be interested in KTR traces. To be even more precise: With a completely stable GENERIC configuration (or otherwise please post your kernel config) please add the following: options KTR

Re: Hot-changing a failed HDD with ahci.ko

2011-12-14 Thread Patrick M. Hausen
Hi! Am 14.12.2011 um 10:52 schrieb Patrick M. Hausen: Yes - my fault. I had an active swap partition on the disk which perfectly explains the panic. I replaced that one with a gmirror device, now. You might try booting RELENG_9 (which has ahci.ko as the default, so no need to mess about) on

Re: SCHED_ULE should not be the default

2011-12-14 Thread Mike Tancsa
On 12/13/2011 7:01 PM, m...@freebsd.org wrote: Has anyone experiencing problems tried to set sysctl kern.sched.steal_thresh=1 ? I don't remember what our specific problem at $WORK was, perhaps it was just interrupt threads not getting serviced fast enough, but we've hard-coded this to 1

Re: SCHED_ULE should not be the default

2011-12-14 Thread Andrey Chernov
On Tue, Dec 13, 2011 at 02:22:48AM -0800, Adrian Chadd wrote: On 13 December 2011 01:00, Andrey Chernov a...@freebsd.org wrote: If the algorithm ULE does not contain problems - it means the problem has Core2Duo, or in a piece of code that uses the ULE scheduler. I observe ULE

Re: SCHED_ULE should not be the default

2011-12-14 Thread Tom Evans
On Wed, Dec 14, 2011 at 11:06 AM, George Mitchell george+free...@m5p.com wrote: Dear Secret Masters of FreeBSD: Can we have a decision on whether to change back to SCHED_4BSD while SCHED_ULE gets properly fixed? Please do not do this. This thread has shown that ULE performs poorly in very

Re: SCHED_ULE should not be the default

2011-12-14 Thread Ivan Klymenko
В Wed, 14 Dec 2011 21:34:35 +0400 Andrey Chernov a...@freebsd.org пишет: On Tue, Dec 13, 2011 at 02:22:48AM -0800, Adrian Chadd wrote: On 13 December 2011 01:00, Andrey Chernov a...@freebsd.org wrote: If the algorithm ULE does not contain problems - it means the problem has Core2Duo,

Re: directory listing hangs in ufs state

2011-12-14 Thread Andrey Zonov
Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of how mongodb works, I found that then listing hangs, one of mongodb thread is in biowr state for a long time. It periodically calls msync(MS_SYNC)

Re: directory listing hangs in ufs state

2011-12-14 Thread Jeremy Chadwick
On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of how mongodb works, I found that then listing hangs, one of mongodb thread is in biowr

Re: directory listing hangs in ufs state

2011-12-14 Thread Alan Cox
On Wed, Dec 14, 2011 at 12:22 PM, Jeremy Chadwick free...@jdc.parodius.comwrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of

Re: directory listing hangs in ufs state

2011-12-14 Thread Andrey Zonov
On 14.12.2011 22:53, Alan Cox wrote: On Wed, Dec 14, 2011 at 12:22 PM, Jeremy Chadwick free...@jdc.parodius.com mailto:free...@jdc.parodius.com wrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already

Re: SCHED_ULE should not be the default

2011-12-14 Thread Mark Linimon
I'm not on the Release Engineering Team, and in fact don't have a src commit bit ... but this close to a major release, no, it's too late to change the default. mcl ___ freebsd-stable@freebsd.org mailing list

Re: kernel: negative sbsize for uid = 0

2011-12-14 Thread Dan Nelson
In the last episode (Dec 13), Doug Barton said: I'm running 8.2-RELEASE-p4 i386 on some web servers that are generally lightly-moderately loaded, but occasionally see some heavy spikes where load average goes way up. When that is happening, but sometimes even when it's not, I get hundreds of

Re: directory listing hangs in ufs state

2011-12-14 Thread Andrey Zonov
On 14.12.2011 22:22, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of how mongodb works, I found that then listing

Re: SCHED_ULE should not be the default

2011-12-14 Thread Marcus Reid
On Wed, Dec 14, 2011 at 05:54:15PM +, Tom Evans wrote: brought forward more complaints about interactivity in X (I've never noticed this, and use a FreeBSD desktop daily). .. that was me, but I forgot to add that it almost never happens, and it can only be triggered when there are processes

Re: directory listing hangs in ufs state

2011-12-14 Thread Jeremy Chadwick
On Wed, Dec 14, 2011 at 11:47:10PM +0400, Andrey Zonov wrote: On 14.12.2011 22:22, Jeremy Chadwick wrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some

Re: kernel: negative sbsize for uid = 0

2011-12-14 Thread Doug Barton
On 12/14/2011 11:46, Dan Nelson wrote: In the last episode (Dec 13), Doug Barton said: I'm running 8.2-RELEASE-p4 i386 on some web servers that are generally lightly-moderately loaded, but occasionally see some heavy spikes where load average goes way up. When that is happening, but sometimes

Re: SCHED_ULE should not be the default

2011-12-14 Thread O. Hartmann
On 12/14/11 18:54, Tom Evans wrote: On Wed, Dec 14, 2011 at 11:06 AM, George Mitchell george+free...@m5p.com wrote: Dear Secret Masters of FreeBSD: Can we have a decision on whether to change back to SCHED_4BSD while SCHED_ULE gets properly fixed? Please do not do this. This thread has

Re: SCHED_ULE should not be the default

2011-12-14 Thread George Mitchell
On 12/14/11 12:54, Tom Evans wrote: [...] This thread has shown that ULE performs poorly in very specific scenarios where the server is loaded with NCPU+1 CPU bound processes, [...] Minor correction: Problem occurs when there are nCPU compute-bound processes, not nCPU + 1.

Re: SCHED_ULE should not be the default

2011-12-14 Thread Jeremy Chadwick
On Thu, Dec 15, 2011 at 12:39:50AM +0100, O. Hartmann wrote: On 12/14/11 18:54, Tom Evans wrote: On the other hand, we have very many benchmarks showing how poorly 4BSD scales on things like postgresql. We get much more load out of our 8.1 ULE DB and web servers than we do out of our 7.0

Re: SCHED_ULE should not be the default

2011-12-14 Thread Oliver Pinter
On 12/15/11, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On 12/14/11 18:54, Tom Evans wrote: On Wed, Dec 14, 2011 at 11:06 AM, George Mitchell george+free...@m5p.com wrote: Dear Secret Masters of FreeBSD: Can we have a decision on whether to change back to SCHED_4BSD while SCHED_ULE gets

Re: SCHED_ULE should not be the default

2011-12-14 Thread Jeremy Chadwick
On Thu, Dec 15, 2011 at 03:05:12AM +0100, Oliver Pinter wrote: On 12/15/11, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On 12/14/11 18:54, Tom Evans wrote: On Wed, Dec 14, 2011 at 11:06 AM, George Mitchell george+free...@m5p.com wrote: Dear Secret Masters of FreeBSD: Can we have a

Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server

2011-12-14 Thread O. Hartmann
Just saw this shot benchmark on Phoronix dot com today: http://www.phoronix.com/scan.php?page=news_itempx=MTAyNzA It may be worth to discuss the sad performance of FBSD in some parts of the benchmark. A difference of a factor 10 or 100 is simply far beyond disapointing, it is more than

Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server

2011-12-14 Thread Adrian Chadd
On 14 December 2011 23:32, O. Hartmann ohart...@zedat.fu-berlin.de wrote: Just saw this shot benchmark on Phoronix dot com today: http://www.phoronix.com/scan.php?page=news_itempx=MTAyNzA It may be worth to discuss the sad performance of FBSD in some parts of the benchmark. A difference of a

Re: SCHED_ULE should not be the default

2011-12-14 Thread Oliver Pinter
On 12/15/11, Jeremy Chadwick free...@jdc.parodius.com wrote: On Thu, Dec 15, 2011 at 03:05:12AM +0100, Oliver Pinter wrote: On 12/15/11, O. Hartmann ohart...@zedat.fu-berlin.de wrote: On 12/14/11 18:54, Tom Evans wrote: On Wed, Dec 14, 2011 at 11:06 AM, George Mitchell

Re: SCHED_ULE should not be the default

2011-12-14 Thread Daniel Kalchev
On 15.12.11 01:39, O. Hartmann wrote: On 12/14/11 18:54, Tom Evans wrote: On Wed, Dec 14, 2011 at 11:06 AM, George Mitchell george+free...@m5p.com wrote: Dear Secret Masters of FreeBSD: Can we have a decision on whether to change back to SCHED_4BSD while SCHED_ULE gets properly fixed?