Re: Stop scheduler on panic

2011-12-06 Thread Andriy Gapon
on 07/12/2011 00:11 Attilio Rao said the following: > I'd just change this check on panicstr: > @@ -606,9 +603,13 @@ kdb_trap(int type, int code, struct trapframe *tf) > intr = intr_disable(); > > #ifdef SMP > - other_cpus = all_cpus; > - CPU_CLR(PCPU_GET(cpuid), &other_cpus); > -

Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build

2011-12-06 Thread Steve Kargl
On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote: > config.status: creating ada/Makefile > config.status: creating auto-host.h > config.status: executing default commands > gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' > gmake[1]: *** [stage1-bubble] Error 2 > gmake[1]:

FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build

2011-12-06 Thread O. Hartmann
Hello. On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when updating the installation of the gcc46 compiler suite. The OS has been compiled via CLANG, binutils 2.22 are installed and has been installed either with the UNAME_r settings and WITH_FBSD10_FIX set in /etc/make.conf. I wa

Re: binutils-2.22: ld and --copy-dt-needed-entries

2011-12-06 Thread Andrew W. Nosenko
On Tue, Dec 6, 2011 at 23:41, Andriy Gapon wrote: > on 06/12/2011 23:24 Martin Matuska said the following: >> On 6.12.2011 17:48, Andriy Gapon wrote: >>> Just for your information. >>> It seems that ld from binutils-2.22 by default has >>> --no-copy-dt-needed-entries >>> behavior, and so explicit

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/6 Andriy Gapon : > on 06/12/2011 20:34 Attilio Rao said the following: > [snip] >> - I'm not entirely sure, why we want to disable interrupts at this >> moment (before to stop other CPUs)?: > > Because I believe that stop_cpus_hard() should run in a context with > interrupts > and preempti

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Daniel O'Connor
On 07/12/2011, at 24:54, Daniel Kalchev wrote: > It seems performance measurements are more dependent on the server (nuttcp > -S) machine. > We will have to rule out the interrupt storms first of course, any advice? You can control the storm threshold by setting the hw.intr_storm_threshold sysc

Dog Food

2011-12-06 Thread Sean Bruno
Was trying to use gmirror(4) or zfs(4) today to get a machine in the cluster setup with s/w raid and was completely flummoxed by the intricacies of manual setup. Chances are, I just am not smart enough to wind my way though the various how tos and wiki pages that I've been browsing to get the job

Re: binutils-2.22: ld and --copy-dt-needed-entries

2011-12-06 Thread Andriy Gapon
on 06/12/2011 23:24 Martin Matuska said the following: > On 6.12.2011 17:48, Andriy Gapon wrote: >> Just for your information. >> It seems that ld from binutils-2.22 by default has >> --no-copy-dt-needed-entries >> behavior, and so explicit --copy-dt-needed-entries is now needed where the >> previ

Re: Stop scheduler on panic

2011-12-06 Thread Andriy Gapon
on 06/12/2011 20:34 Attilio Rao said the following: [snip] > - I'm not entirely sure, why we want to disable interrupts at this > moment (before to stop other CPUs)?: Because I believe that stop_cpus_hard() should run in a context with interrupts and preemption disabled. Also, I believe that the

Re: binutils-2.22: ld and --copy-dt-needed-entries

2011-12-06 Thread Martin Matuska
On 6.12.2011 17:48, Andriy Gapon wrote: > Just for your information. > It seems that ld from binutils-2.22 by default has --no-copy-dt-needed-entries > behavior, and so explicit --copy-dt-needed-entries is now needed where the > previous default behavior is relied upon. > > A short excerpt from the

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Luigi Rizzo
On Tue, Dec 06, 2011 at 07:40:21PM +0200, Daniel Kalchev wrote: > I see significant difference between number of interrupts on the Intel and > the AMD blades. When performing a test between the Intel and AMD blades, the > Intel blade generates 20,000-35,000 interrupts, while the AMD blade generat

Re: virtualbox r0 memory management update [Was: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}]

2011-12-06 Thread Andriy Gapon
on 06/12/2011 20:54 Bernhard Froehlich said the following: > On 06.12.2011 12:14, Andriy Gapon wrote: >> Meanwhile, here is the code that I came up with: >> http://people.freebsd.org/~avg/vbox/ >> For your convenience I have uploaded both the new file and its diff >> against svn >> head. I am test

Re: Is there a FreeBSD 9+ version of this?

2011-12-06 Thread Warren Block
On Tue, 6 Dec 2011, Sean Bruno wrote: http://www.freebsd.org/doc/handbook/geom-mirror.html Not in the Handbook. To make gmirror work with GPT, create GPT partitions and mirror those. I wrote an article on that using multiple partitions: http://www.wonkity.com/~wblock/docs/html/gmirror.html

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/11/13 Kostik Belousov : > I was tricked into finishing the work by Andrey Gapon, who developed > the patch to reliably stop other processors on panic.  The patch > greatly improves the chances of getting dump on panic on SMP host. > Several people already saw the patchset, and I remember that

Re: virtualbox r0 memory management update [Was: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}]

2011-12-06 Thread Bernhard Froehlich
On 06.12.2011 12:14, Andriy Gapon wrote: Meanwhile, here is the code that I came up with: http://people.freebsd.org/~avg/vbox/ For your convenience I have uploaded both the new file and its diff against svn head. I am testing this on FreeBSD head (r228017), so far no breakage observed. I would

Re: ZFS: i/o error all block copies unavailable Invalid format

2011-12-06 Thread Andriy Gapon
on 06/12/2011 15:41 KOT MATPOCKuH said the following: > 2011/12/6 Peter Maloney : >> And just out of curiosity, how did you find the old bootloader? > I copied zfsloader from system, which has not been updated. > Also I get zfsloader from weekly ZFS's snapshot. Additionally, installworld preserves

Re: ZFS: i/o error all block copies unavailable Invalid format

2011-12-06 Thread Andriy Gapon
on 06/12/2011 08:14 KOT MATPOCKuH said the following: > Hello all! > > On 24 nov I updated sources via csup to RELENG_9 (9.0-PRERELEASE). > After make installboot I successfully booted to single user. > But after make installworld system was fail to boot with message: > ZFS: i/o error all block co

Is there a FreeBSD 9+ version of this?

2011-12-06 Thread Sean Bruno
http://www.freebsd.org/doc/handbook/geom-mirror.html ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Daniel Kalchev
I see significant difference between number of interrupts on the Intel and the AMD blades. When performing a test between the Intel and AMD blades, the Intel blade generates 20,000-35,000 interrupts, while the AMD blade generates under 1,000 interrupts. There is no longer throttling, but the pe

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Jack Vogel
Set the storm threshold to 0, that will disable it, its going to throttle your performance when it happens. Jack On Tue, Dec 6, 2011 at 6:24 AM, Daniel Kalchev wrote: > Some tests with updated FreeBSD to 8-stable as of today, compared with the > previous run > > > > On 06.12.11 13:18, Daniel K

binutils-2.22: ld and --copy-dt-needed-entries

2011-12-06 Thread Andriy Gapon
Just for your information. It seems that ld from binutils-2.22 by default has --no-copy-dt-needed-entries behavior, and so explicit --copy-dt-needed-entries is now needed where the previous default behavior is relied upon. A short excerpt from the man page for your convenience: > This option als

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/4 Andriy Gapon : > on 02/12/2011 19:18 Attilio Rao said the following: >> BTW, I'm waiting for the details to settle (including the patch we >> have been discussing internally about binding to CPU0 during ACPI >> shutdown) > > I do not see strong interdependency between that patch and the p

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/4 Andriy Gapon : > on 21/11/2011 18:58 Attilio Rao said the following: >> I would be very in favor about having a 'thread trampoline for KDB', >> thus that it can use locks. > > I keep hearing the suggestion to add this trampoline, but I admit that I do > not > understand its technical mea

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/2 Andriy Gapon : > on 02/12/2011 20:40 John Baldwin said the following: >> On 12/2/11 12:18 PM, Attilio Rao wrote: >>> 2011/12/2 John Baldwin: On 12/2/11 5:05 AM, Andriy Gapon wrote: > > on 02/12/2011 06:36 John Baldwin said the following: >> >> Ah, ok (I had thought SC

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Daniel Kalchev
Some tests with updated FreeBSD to 8-stable as of today, compared with the previous run On 06.12.11 13:18, Daniel Kalchev wrote: FreeBSD 8.2-STABLE #0: Wed Sep 28 11:23:59 EEST 2011 CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2403.58-MHz K8-class CPU) real memory = 51539607552 (4

Re: ZFS: i/o error all block copies unavailable Invalid format

2011-12-06 Thread KOT MATPOCKuH
2011/12/6 Peter Maloney : >>> "Invalid format" sounds like the software doesn't understand the disks. >>> Check your pool (software) version with: >>> # zpool upgrade -v >> zpool upgrade -v does not show pools, available for upgrade :) >> >> # zpool upgrade >> This system is currently running ZFS p

Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}

2011-12-06 Thread Andriy Gapon
on 06/12/2011 14:51 Bernhard Froehlich said the following: > > No. We currently have the last 2 virtualbox major versions in the ports tree > so > if we decide to do such an incompatible change we always have the older > version > around for 8.2 users for about the next year. Oh, I missed the f

Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}

2011-12-06 Thread Bernhard Froehlich
On 06.12.2011 12:00, Andriy Gapon wrote: on 06/12/2011 11:40 Bernhard Froehlich said the following: On 06.12.2011 10:08, Andriy Gapon wrote: on 06/12/2011 02:08 Alan Cox said the following: The right thing to do is to MFC vm_page_alloc_contig(). It shouldn't be that hard to merge it. Ah, b

Re: ZFS: i/o error all block copies unavailable Invalid format

2011-12-06 Thread Peter Maloney
On 12/06/2011 12:06 PM, KOT MATPOCKuH wrote: > Hello! > > 2011/12/6 Peter Maloney : > >> "Invalid format" sounds like the software doesn't understand the disks. >> Check your pool (software) version with: >> # zpool upgrade -v > zpool upgrade -v does not show pools, available for upgrade :) > > # z

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Daniel Kalchev
On 06.12.11 13:18, Daniel Kalchev wrote: [...] second blade: # nuttcp -t -T 5 -w 128 -v 10.2.101.13 nuttcp-t: v6.1.2: socket nuttcp-t: buflen=65536, nstream=1, port=5001 tcp -> 10.2.101.13 nuttcp-t: time limit = 5.00 seconds nuttcp-t: connect to 10.2.101.13 with mss=1448, RTT=0.164 ms nuttcp-t

Re: datapoints on 10G throughput with TCP ?

2011-12-06 Thread Daniel Kalchev
Here is what I get, with an existing install, no tuning other than kern.ipc.nmbclusters=512000 Pair of Supermicro blades: FreeBSD 8.2-STABLE #0: Wed Sep 28 11:23:59 EEST 2011 CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2403.58-MHz K8-class CPU) real memory = 51539607552 (49152 MB)

virtualbox r0 memory management update [Was: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}]

2011-12-06 Thread Andriy Gapon
Meanwhile, here is the code that I came up with: http://people.freebsd.org/~avg/vbox/ For your convenience I have uploaded both the new file and its diff against svn head. I am testing this on FreeBSD head (r228017), so far no breakage observed. I would appreciate reviews and testing of this cod

Re: ZFS: i/o error all block copies unavailable Invalid format

2011-12-06 Thread KOT MATPOCKuH
Hello! 2011/12/6 Peter Maloney : > "Invalid format" sounds like the software doesn't understand the disks. > Check your pool (software) version with: > # zpool upgrade -v zpool upgrade -v does not show pools, available for upgrade :) # zpool upgrade This system is currently running ZFS pool vers

Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}

2011-12-06 Thread Andriy Gapon
on 06/12/2011 11:40 Bernhard Froehlich said the following: > On 06.12.2011 10:08, Andriy Gapon wrote: >> on 06/12/2011 02:08 Alan Cox said the following: >>> The right thing to do is to MFC vm_page_alloc_contig(). It shouldn't be >>> that >>> hard to merge it. >> >> Ah, but we want to be able to

Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}

2011-12-06 Thread Bernhard Froehlich
On 06.12.2011 10:08, Andriy Gapon wrote: on 06/12/2011 02:08 Alan Cox said the following: The right thing to do is to MFC vm_page_alloc_contig(). It shouldn't be that hard to merge it. Ah, but we want to be able to run virtualbox on the past releases too. Which releases are we talking abo

Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464}

2011-12-06 Thread Andriy Gapon
on 06/12/2011 02:08 Alan Cox said the following: > The right thing to do is to MFC vm_page_alloc_contig(). It shouldn't be that > hard to merge it. Ah, but we want to be able to run virtualbox on the past releases too. -- Andriy Gapon ___ freebsd-curr