Re: Kernel symbol file alternate location

2010-08-07 Thread jhell
On 08/06/2010 06:19, Oliver Fromme wrote:
 Kostik Belousov kostik...@gmail.com wrote:
   If you keep /usr/obj around, you do not need symbol files at all,
   and INSTALL_NODEBUG?=true in make.conf is enough. You can always
   use kernel.debug and modules with debugging symbols from build
   directory for kgdb.
 
 OK ...  But that won't work for /boot/kernel.old.
 
 Best regards
Oliver
 

kernel /boot/kernel
symbols /boot/sym

When kernel is upgraded old kernel and sym becomes
/boot/kernel.old
/boot/sym.old

If I remember correctly in a recent backtrace that I have tried when I
used /boot/kernel.old/kernel the symbols ended up loading from
/boot/kernel anyway and not the kernel.old directory. So whether these
are moved to a different location or not I do not believe it will make
that much of a difference on where they are loaded from. I may be wrong
about this.

IMO creating symlink's is going to be a bad way to handle this and
adjusting the respective utilities that use the symbols is a much more
permanent and failure safe way to go about this. Besides moving the
location of the symbols and having a debugging utility or crash dump
utility fail is not really a mission critical failure and would be able
to be found and corrected fairly quick among the amount of people that
are using these.

$0.02 US


Regards,

-- 

 jhell,v

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool - low speed write

2010-08-07 Thread Ivan Voras
On 5.8.2010 6:47, Alex V. Petrov wrote:

 camcontrol identify ada2
 pass2: WDC WD10EADS-00M2B0 01.00A01 ATA-8 SATA 2.x device

Aren't those 4k sector drives?

To verify this hypotesis though, you will have to destroy the zpool, use
gnop to create a virtual 4k sector drive for each physical drive and try
testing everything again, using these new virtual drives.

Unfortunately, if this is the case, it will be troublesome to find a
production solution just yet. I have an idea but no time to try it.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE Slow Write Speeds on ESXI 4.0

2010-08-07 Thread Ivan Voras
On 7.8.2010 3:21, Joshua Boyd wrote:
 Hello,
 
 I'm experiencing slow write speeds on 8-STABLE running on an ESXI 4.0
 server, despite whatever tunables I've thrown at it. Read speeds are slower
 than they should be, but acceptable. Note, this is a thick provisioned disk,
 not thin.
 
 Speeds on Windows hosts are as expected for an MD3000 DAS, 250MB/s or so.
 
 [r...@git ~]# dd if=/dev/da0 of=/dev/null bs=1M count=500
 500+0 records in
 500+0 records out
 524288000 bytes transferred in 3.304514 secs (158658118 bytes/sec
 
 [r...@git ~]# dd if=/dev/zero of=/var/testfile bs=1M count=500
 500+0 records in
 500+0 records out
 524288000 bytes transferred in 52.083421 secs (10066313 bytes/sec)

I assume you are using UFS and SU? What tunables have you tried?

It's unlikely they will help, but try:

vfs.read_max=32

for read speeds (but test using the UFS file system, not as a raw device
like above), and:

vfs.hirunningspace=8388608
vfs.lorunningspace=4194304

for writes. Again, it's unlikely but I'm interested in results you achieve.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: the console bug still exists

2010-08-07 Thread Ivan Voras
On 4.8.2010 16:49, jhell wrote:
 On 08/04/2010 03:22, David Xu wrote:
 Sigh, pressing ScrollLock key several times can lock up the
 kernel when it is still booting before /sbin/init runs.

 David Xu
 
 Sorry David,
 
 No matter what I have tried I have not been able to reproduce this
 across 5 separate machines.

For what it's worth, I come across this buglet occasionally, about once
or twice a year.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool - low speed write

2010-08-07 Thread Artem Belevich
On Sat, Aug 7, 2010 at 4:51 AM, Ivan Voras ivo...@freebsd.org wrote:
 On 5.8.2010 6:47, Alex V. Petrov wrote:

 camcontrol identify ada2
 pass2: WDC WD10EADS-00M2B0 01.00A01 ATA-8 SATA 2.x device

 Aren't those 4k sector drives?

EADS drives use regular 512-byte sectors AFAIK. It's EA*R*S models
that use 4K sectors.

--Artem
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool - low speed write

2010-08-07 Thread Marek 'Buki' Kozlovský
On Sat, Aug 07, 2010 at 01:51:21PM +0200, Ivan Voras wrote:
 On 5.8.2010 6:47, Alex V. Petrov wrote:
 
  camcontrol identify ada2
  pass2: WDC WD10EADS-00M2B0 01.00A01 ATA-8 SATA 2.x device
 
 Aren't those 4k sector drives?

no, 4k drives have 'R' in type (ie. EARS and AARS models)

 To verify this hypotesis though, you will have to destroy the zpool, use
 gnop to create a virtual 4k sector drive for each physical drive and try
 testing everything again, using these new virtual drives.
 
 Unfortunately, if this is the case, it will be troublesome to find a
 production solution just yet. I have an idea but no time to try it.

Buki


pgpGeiBg7dh4Q.pgp
Description: PGP signature


Re: 8-STABLE Slow Write Speeds on ESXI 4.0

2010-08-07 Thread Ivan Voras
On 7 August 2010 19:03, Joshua Boyd boy...@jbip.net wrote:
 On Sat, Aug 7, 2010 at 7:57 AM, Ivan Voras ivo...@freebsd.org wrote:

 It's unlikely they will help, but try:

 vfs.read_max=32

 for read speeds (but test using the UFS file system, not as a raw device
 like above), and:

 vfs.hirunningspace=8388608
 vfs.lorunningspace=4194304

 for writes. Again, it's unlikely but I'm interested in results you
 achieve.


 This is interesting. Write speeds went up to 40MBish. Still slow, but 4x
 faster than before.
 [r...@git ~]# dd if=/dev/zero of=/var/testfile bs=1M count=250
 250+0 records in
 250+0 records out
 262144000 bytes transferred in 6.185955 secs (42377288 bytes/sec)
 [r...@git ~]# dd if=/var/testfile of=/dev/null
 512000+0 records in
 512000+0 records out
 262144000 bytes transferred in 0.811397 secs (323077424 bytes/sec)
 So read speeds are up to what they should be, but write speeds are still
 significantly below what they should be.

Well, you *could* double the size of runningspace tunables and try that :)

Basically, in tuning these two settings we are cheating: increasing
read-ahead (read_max) and write in-flight buffering (runningspace) in
order to offload as much IO to the controller (in this case vmware) as
soon as possible, so to reschedule horrible IO-caused context switches
vmware has. It will help sequential performance, but nothing can help
random IOs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


[releng_7 tinderbox] failure on i386/pc98

2010-08-07 Thread FreeBSD Tinderbox
TB --- 2010-08-07 19:50:18 - tinderbox 2.6 running on freebsd-stable.sentex.ca
TB --- 2010-08-07 19:50:18 - starting RELENG_7 tinderbox run for i386/pc98
TB --- 2010-08-07 19:50:18 - cleaning the object tree
TB --- 2010-08-07 19:50:44 - cvsupping the source tree
TB --- 2010-08-07 19:50:44 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s 
/tinderbox/RELENG_7/i386/pc98/supfile
TB --- 2010-08-07 19:50:54 - building world
TB --- 2010-08-07 19:50:54 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 19:50:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 19:50:54 - TARGET=pc98
TB --- 2010-08-07 19:50:54 - TARGET_ARCH=i386
TB --- 2010-08-07 19:50:54 - TZ=UTC
TB --- 2010-08-07 19:50:54 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 19:50:54 - cd /src
TB --- 2010-08-07 19:50:54 - /usr/bin/make -B buildworld
 World build started on Sat Aug  7 19:50:56 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Aug  7 20:56:05 UTC 2010
TB --- 2010-08-07 20:56:05 - generating LINT kernel config
TB --- 2010-08-07 20:56:05 - cd /src/sys/pc98/conf
TB --- 2010-08-07 20:56:05 - /usr/bin/make -B LINT
TB --- 2010-08-07 20:56:05 - building LINT kernel
TB --- 2010-08-07 20:56:05 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 20:56:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 20:56:05 - TARGET=pc98
TB --- 2010-08-07 20:56:05 - TARGET_ARCH=i386
TB --- 2010-08-07 20:56:05 - TZ=UTC
TB --- 2010-08-07 20:56:05 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 20:56:05 - cd /src
TB --- 2010-08-07 20:56:05 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Aug  7 20:56:05 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/dev/usb/ohci_pci.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/dev/usb/sl811hs.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/dev/usb/slhci_pccard.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/dev/usb/uark.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign 

[releng_7 tinderbox] failure on powerpc/powerpc

2010-08-07 Thread FreeBSD Tinderbox
TB --- 2010-08-07 21:03:59 - tinderbox 2.6 running on freebsd-stable.sentex.ca
TB --- 2010-08-07 21:03:59 - starting RELENG_7 tinderbox run for powerpc/powerpc
TB --- 2010-08-07 21:03:59 - cleaning the object tree
TB --- 2010-08-07 21:04:17 - cvsupping the source tree
TB --- 2010-08-07 21:04:17 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s 
/tinderbox/RELENG_7/powerpc/powerpc/supfile
TB --- 2010-08-07 21:04:25 - building world
TB --- 2010-08-07 21:04:25 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 21:04:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 21:04:25 - TARGET=powerpc
TB --- 2010-08-07 21:04:25 - TARGET_ARCH=powerpc
TB --- 2010-08-07 21:04:25 - TZ=UTC
TB --- 2010-08-07 21:04:25 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 21:04:25 - cd /src
TB --- 2010-08-07 21:04:25 - /usr/bin/make -B buildworld
 World build started on Sat Aug  7 21:04:26 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Aug  7 22:10:59 UTC 2010
TB --- 2010-08-07 22:10:59 - generating LINT kernel config
TB --- 2010-08-07 22:10:59 - cd /src/sys/powerpc/conf
TB --- 2010-08-07 22:10:59 - /usr/bin/make -B LINT
TB --- 2010-08-07 22:10:59 - building LINT kernel
TB --- 2010-08-07 22:10:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 22:10:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 22:10:59 - TARGET=powerpc
TB --- 2010-08-07 22:10:59 - TARGET_ARCH=powerpc
TB --- 2010-08-07 22:10:59 - TZ=UTC
TB --- 2010-08-07 22:10:59 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 22:10:59 - cd /src
TB --- 2010-08-07 22:10:59 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Aug  7 22:10:59 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/dev/usb/sl811hs.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/dev/usb/slhci_pccard.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/dev/usb/uark.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/dev/usb/u3g.c
cc1: warnings being treated as errors
/src/sys/dev/usb/u3g.c:197: warning: missing braces around initializer
/src/sys/dev/usb/u3g.c:197: warning: (near initialization for 
'u3g_devs[60].devno')
/src/sys/dev/usb/u3g.c:198: error: expected identifier or '(' before '}' token
*** Error code 1

Stop in /obj/powerpc/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-08-07 22:18:03 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-08-07 22:18:03 - ERROR: failed to build lint kernel
TB --- 2010-08-07 22:18:03 - 3726.22 user 362.08 system 

[releng_7 tinderbox] failure on ia64/ia64

2010-08-07 Thread FreeBSD Tinderbox
TB --- 2010-08-07 20:42:50 - tinderbox 2.6 running on freebsd-stable.sentex.ca
TB --- 2010-08-07 20:42:50 - starting RELENG_7 tinderbox run for ia64/ia64
TB --- 2010-08-07 20:42:50 - cleaning the object tree
TB --- 2010-08-07 20:43:13 - cvsupping the source tree
TB --- 2010-08-07 20:43:13 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s 
/tinderbox/RELENG_7/ia64/ia64/supfile
TB --- 2010-08-07 20:43:26 - building world
TB --- 2010-08-07 20:43:26 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 20:43:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 20:43:26 - TARGET=ia64
TB --- 2010-08-07 20:43:26 - TARGET_ARCH=ia64
TB --- 2010-08-07 20:43:26 - TZ=UTC
TB --- 2010-08-07 20:43:26 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 20:43:26 - cd /src
TB --- 2010-08-07 20:43:26 - /usr/bin/make -B buildworld
 World build started on Sat Aug  7 20:43:27 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Aug  7 22:09:55 UTC 2010
TB --- 2010-08-07 22:09:55 - generating LINT kernel config
TB --- 2010-08-07 22:09:55 - cd /src/sys/ia64/conf
TB --- 2010-08-07 22:09:55 - /usr/bin/make -B LINT
TB --- 2010-08-07 22:09:55 - building LINT kernel
TB --- 2010-08-07 22:09:55 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 22:09:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 22:09:55 - TARGET=ia64
TB --- 2010-08-07 22:09:55 - TARGET_ARCH=ia64
TB --- 2010-08-07 22:09:55 - TZ=UTC
TB --- 2010-08-07 22:09:55 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 22:09:55 - cd /src
TB --- 2010-08-07 22:09:55 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Aug  7 22:09:55 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/dev/usb/sl811hs.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/usb/slhci_pccard.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/dev/usb/uark.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/dev/usb/u3g.c
cc1: warnings being treated as errors
/src/sys/dev/usb/u3g.c:197: warning: missing braces around initializer
/src/sys/dev/usb/u3g.c:197: warning: (near initialization for 
'u3g_devs[60].devno')
/src/sys/dev/usb/u3g.c:198: error: expected identifier or '(' before '}' token
*** Error code 1

Stop in /obj/ia64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-08-07 22:20:26 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-08-07 22:20:26 - ERROR: failed 

Re: zpool - low speed write

2010-08-07 Thread Vladislav V. Prodan
04.08.2010 15:08, Alex V. Petrov пишет:
 Hi All!

 $ dd if=/dev/random of=/tank/test bs=3M count=1000
 1000+0 records in
 1000+0 records out
 3145728000 bytes transferred in 298.153293 secs (10550707 bytes/sec)


 Any ideas?


Please, show output:
vmstat -z
netstat -m
sysctl -a | grep vm.kmem
sysctl -a | grep vfs.zfs.arc
sysctl -a | grep kern.maxvnodes
sysctl -a | grep vm.kvm
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


[releng_7 tinderbox] failure on sparc64/sparc64

2010-08-07 Thread FreeBSD Tinderbox
TB --- 2010-08-07 22:18:03 - tinderbox 2.6 running on freebsd-stable.sentex.ca
TB --- 2010-08-07 22:18:03 - starting RELENG_7 tinderbox run for sparc64/sparc64
TB --- 2010-08-07 22:18:03 - cleaning the object tree
TB --- 2010-08-07 22:18:28 - cvsupping the source tree
TB --- 2010-08-07 22:18:29 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s 
/tinderbox/RELENG_7/sparc64/sparc64/supfile
TB --- 2010-08-07 22:18:38 - building world
TB --- 2010-08-07 22:18:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 22:18:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 22:18:38 - TARGET=sparc64
TB --- 2010-08-07 22:18:38 - TARGET_ARCH=sparc64
TB --- 2010-08-07 22:18:38 - TZ=UTC
TB --- 2010-08-07 22:18:38 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 22:18:38 - cd /src
TB --- 2010-08-07 22:18:38 - /usr/bin/make -B buildworld
 World build started on Sat Aug  7 22:18:39 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Aug  7 23:18:18 UTC 2010
TB --- 2010-08-07 23:18:18 - generating LINT kernel config
TB --- 2010-08-07 23:18:18 - cd /src/sys/sparc64/conf
TB --- 2010-08-07 23:18:18 - /usr/bin/make -B LINT
TB --- 2010-08-07 23:18:18 - building LINT kernel
TB --- 2010-08-07 23:18:18 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-08-07 23:18:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-08-07 23:18:18 - TARGET=sparc64
TB --- 2010-08-07 23:18:18 - TARGET_ARCH=sparc64
TB --- 2010-08-07 23:18:18 - TZ=UTC
TB --- 2010-08-07 23:18:18 - __MAKE_CONF=/dev/null
TB --- 2010-08-07 23:18:18 - cd /src
TB --- 2010-08-07 23:18:18 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Aug  7 23:18:18 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  /src/sys/dev/usb/sl811hs.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  
/src/sys/dev/usb/slhci_pccard.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  /src/sys/dev/usb/uark.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  /src/sys/dev/usb/u3g.c
cc1: warnings being treated as errors
/src/sys/dev/usb/u3g.c:197: warning: missing braces around initializer
/src/sys/dev/usb/u3g.c:197: warning: (near initialization for 
'u3g_devs[60].devno')
/src/sys/dev/usb/u3g.c:198: error: expected identifier or '(' before '}' token
*** Error code 1

Stop in /obj/sparc64/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-08-07 23:25:17 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-08-07 23:25:17 - ERROR: failed to build lint kernel
TB --- 2010-08-07 23:25:17 - 3511.56 user 356.03 system 4034.12 real


http://tinderbox.freebsd.org/tinderbox-releng_7-RELENG_7-sparc64-sparc64.full
___

Re: zpool - low speed write

2010-08-07 Thread Alex V. Petrov
В сообщении от 8 августа 2010 07:01:02 автор Vladislav V. Prodan написал:
 04.08.2010 15:08, Alex V. Petrov пишет:
  Hi All!
  
  $ dd if=/dev/random of=/tank/test bs=3M count=1000
  1000+0 records in
  1000+0 records out
  3145728000 bytes transferred in 298.153293 secs (10550707 bytes/sec)
  
  
  Any ideas?
 
 Please, show output:
 vmstat -z
 netstat -m
 sysctl -a | grep vm.kmem
 sysctl -a | grep vfs.zfs.arc
 sysctl -a | grep kern.maxvnodes
 sysctl -a | grep vm.kvm

vmstat -z
ITEM SIZE LIMIT  USED  FREE  REQUESTS  FAILURES

UMA Kegs: 208,0,  191,   13,  191,0
UMA Zones:320,0,  191,1,  191,0
UMA Slabs:568,0, 5146, 1301, 24288196,0
UMA RCntSlabs:568,0, 1631, 1015,   329163,0
UMA Hash: 256,0,   79,   11,   82,0
16 Bucket:152,0,   16,  109,  167,0
32 Bucket:280,0,   30,   82,  274,2
64 Bucket:536,0,   49,   63,  793,   89
128 Bucket:  1048,0,  514,   95,   187117,   123359
VM OBJECT:216,0,34974,   213300, 413596412,0
MAP:  232,0,7,   25,7,0
KMAP ENTRY:   120,   150474,  183, 7040, 66175818,0
MAP ENTRY:120,0,24333,10759, 1025909468,0
DP fakepg:120,0,  216,  187,  544,0
SG fakepg:120,0,  667, 1689, 6212,0
mt_zone: 2056,0,  295,   54,  295,0
16:16,0, 3916,13724, 325519968,0
32:32,0, 3598, 1654, 65243323,0
64:64,0,16671,29529, 905000121,0
128:  128,0,12097,30011, 473239749,0
256:  256,0, 3300, 4650, 793867992,0
512:  512,0, 5211, 7690, 54770551,0
1024:1024,0,  239,  697,  5912498,0
2048:2048,0, 1335,  721, 35819870,0
4096:4096,0,  715,  617,  7671562,0
Files: 80,0, 2258, 1162, 323524959,0
TURNSTILE:136,0, 1673,   67, 1677,0
umtx pi:   96,0,0,0,0,0
MAC labels:40,0,0,0,0,0
PROC:1120,0,  187,  824,  6336408,0
THREAD:   984,0, 1236,  436,20593,0
SLEEPQUEUE:80,0, 1673,   67, 1677,0
VMSPACE:  392,0,  159,  831,  6334753,0
cpuset:72,0,2,   98,2,0
audit_record: 952,0,0,0,0,0
mbuf_packet:  256,0,  371,  525, 348284916,0
mbuf: 256,0,  231, 1888, 2247652340,0
mbuf_cluster:2048,25600,  896,  804,   188084,0
mbuf_jumbo_page: 4096,12800,   27,  754, 593845769,0
mbuf_jumbo_9k:   9216, 6400,0,0,0,0
mbuf_jumbo_16k: 16384, 3200,0,0,0,0
mbuf_ext_refcnt:4,0,0,  672,   774185,0
g_bio:232,0,   20, 1644, 54750899,0
ttyinq:   160,0,  330,  126, 1275,0
ttyoutq:  256,0,  168,   87,  632,0
ata_request:  320,0,   10,  782, 21908538,0
ata_composite:336,0,0,0,0,0
nv_stack_t: 12288,0,   10,   10,   22,0
VNODE:472,0,32144,63544, 25299060,0
VNODEPOLL:112,0,   63,  135,   65,0
S VFS Cache:  108,0,23801,   111928, 38399522,0
L VFS Cache:  328,0, 4752, 1368,  2652656,0
NAMEI:   1024,0,0,  764, 1639822943,0
NFSMOUNT: 616,0,0,0,0,0
NFSNODE:  656,0,0,0,0,0
DIRHASH:

Re: zpool - low speed write

2010-08-07 Thread Vladislav V. Prodan
08.08.2010 6:07, Alex V. Petrov wrote:

 sysctl -a | grep vm.kmem
 vm.kmem_size_max: 329853485875
 
 sysctl -a | grep vfs.zfs.arc
 vfs.zfs.arc_meta_used: 13797096
 vfs.zfs.arc_max: 858721280
 

 sysctl -a | grep vm.kvm
 vm.kvm_free: 547673337856
 vm.kvm_size: 549755809792
 
 
Please, insert into /boot/loader.conf only this options:

vm.kmem_size=999M
vm.kmem_size_max=999M
vfs.zfs.arc_max=160M

And after reboot, please run dd...
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool - low speed write

2010-08-07 Thread Alex V. Petrov
В сообщении от 8 августа 2010 12:13:29 автор Vladislav V. Prodan написал:
 08.08.2010 6:07, Alex V. Petrov wrote:
  sysctl -a | grep vm.kmem
  vm.kmem_size_max: 329853485875
  
  sysctl -a | grep vfs.zfs.arc
  vfs.zfs.arc_meta_used: 13797096
  vfs.zfs.arc_max: 858721280
  
  
  sysctl -a | grep vm.kvm
  vm.kvm_free: 547673337856
  vm.kvm_size: 549755809792
 
 Please, insert into /boot/loader.conf only this options:
 
 vm.kmem_size=999M
 vm.kmem_size_max=999M
 vfs.zfs.arc_max=160M
 
 And after reboot, please run dd...

I think these settings are relevant only for i386, but not for amd64


dd if=/dev/zero of=/tank/test.zero bs=3M count=1000
1000+0 records in
1000+0 records out
3145728000 bytes transferred in 425.627495 secs (7390801 bytes/sec)

zpool iostat -v 10 10
   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 759G  1,98T  0 43  31,7K  4,37M
  ad12   230G   701G  0 15  10,8K  1,55M
  ad8244G   684G  0 15  11,6K  1,55M
  ad10   286G   642G  0 13  9,33K  1,27M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 759G  1,98T  0 80  0  3,26M
  ad12   230G   701G  0 27  0  1,24M
  ad8244G   684G  0 27  0  1,08M
  ad10   286G   642G  0 25  0   962K
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 759G  1,98T  0100  6,39K  3,31M
  ad12   230G   701G  0 34  0  1,23M
  ad8244G   684G  0 33  0  1,13M
  ad10   286G   642G  0 33  6,39K   970K
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0132  0  7,21M
  ad12   230G   701G  0 41  0  2,23M
  ad8244G   684G  0 47  0  2,79M
  ad10   286G   642G  0 43  0  2,20M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0110  6,39K  5,19M
  ad12   230G   701G  0 39  0  2,12M
  ad8244G   684G  0 36  6,39K  1,67M
  ad10   286G   642G  0 33  0  1,40M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0100  6,39K  4,81M
  ad12   230G   701G  0 33  0  1,79M
  ad8244G   684G  0 34  0  1,65M
  ad10   286G   642G  0 32  6,39K  1,37M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0117  0  6,21M
  ad12   230G   701G  0 41  0  2,23M
  ad8244G   684G  0 39  0  2,14M
  ad10   286G   642G  0 37  0  1,84M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0113  0  5,87M
  ad12   230G   701G  0 36  0  1,77M
  ad8244G   684G  0 40  0  2,19M
  ad10   286G   642G  0 37  0  1,90M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0102  12,8K  5,19M
  ad12   230G   701G  0 37  6,39K  2,02M
  ad8244G   684G  0 34  0  1,84M
  ad10   286G   642G  0 30  6,39K  1,32M
--  -  -  -  -  -  -

   capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank 760G  1,98T  0124  0  6,32M
  ad12   230G   701G  0 43  0  2,31M
  ad8244G   684G  0 41  0  2,16M
  ad10   286G   642G  0 39  0  1,85M
--  -  -  -