New zfs/bufwait LOR

2010-01-25 Thread Peter Jeremy
I had the following crop up recently in 8-STABLE/amd64 from end of November. It's been reported as kern/143184. lock order reversal: 1st 0xff002f7fb270 zfs (zfs) @ /usr/src/sys/kern/vfs_vnops.c:533 2nd 0xff80803a26e0 bufwait (bufwait) @ /usr/src/sys/vm/vm_pager.c:311 KDB: stack

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Dan Naumov
On Mon, Jan 25, 2010 at 9:34 AM, Dan Naumov dan.nau...@gmail.com wrote: On Mon, Jan 25, 2010 at 7:33 AM, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Mon, 25 Jan 2010, Dan Naumov wrote: I've checked with the manufacturer and it seems that the Sil3124 in this NAS is indeed a PCI

Re: Problematic network performance with Marvell 8072 on HP Probook 4710s

2010-01-25 Thread Emanuele A. Bagnaschi
On 12:55 Sun 24 Jan , Pyun YongHyeon wrote: Last time I checked ttcp, it was broken with threading. So you have to build ttcp without threading support or use netperf to check performance numbers. That's bad, this evening I will try with netperf. It seems you have Yukon Extreme

Re: Loader, MBR and the boot process

2010-01-25 Thread Andriy Gapon
on 25/01/2010 04:41 Robert Noland said the following: On Mon, 2010-01-25 at 07:57 +1100, Mark Andrews wrote: offset The offset of the start of the partition from the beginning of the drive in sectors, or * to have bsdlabel calculate the correct offset to use

Re: New zfs/bufwait LOR

2010-01-25 Thread Kostik Belousov
On Mon, Jan 25, 2010 at 07:07:00PM +1100, Peter Jeremy wrote: I had the following crop up recently in 8-STABLE/amd64 from end of November. It's been reported as kern/143184. Basically, page containing the buffer for read(2) is swapped out. This causes page fault in copyout(9) and entry into vm

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Thomas Burgess
It depends on the bandwidth of the bus that it is on and the controller itself. I like to use pci-x with aoc-sat2-mv8 cards or pci-e cardsthat way you get a lot more bandwidth.. On Mon, Jan 25, 2010 at 3:32 AM, Dan Naumov dan.nau...@gmail.com wrote: On Mon, Jan 25, 2010 at 9:34 AM, Dan

Re: su password prompt ti stdout instead of /dev/tty

2010-01-25 Thread Cyrille Lefevre
Glen Barber a écrit : Hi, Cyrille Lefevre wrote: Hi, su password prompt is displayed to *stdout* instead of */dev/tty*. # su user $ su root -c date /tmp/date 21 (nothing displayed) $ cat /tmp/date Password:su: Sorry $ uname -a FreeBSD freebsd8.my.domain 8.0-RELEASE FreeBSD 8.0-RELEASE #0:

Re: su password prompt ti stdout instead of /dev/tty

2010-01-25 Thread Cyrille Lefevre
jhell a écrit : If you mean for the program to appropriately append or overwrite to a file you should ( su user -c 'date output 21' ) instead no, I wanted the log written by the initiator, not the receiver. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net

Re: su password prompt ti stdout instead of /dev/tty

2010-01-25 Thread Cyrille Lefevre
jhell a écrit : On Sun, 24 Jan 2010 21:57, glen.j.barber@ wrote: Cyrille Lefevre wrote: su password prompt is displayed to *stdout* instead of */dev/tty*. # su user $ su root -c date /tmp/date 21 (nothing displayed) $ cat /tmp/date Password:su: Sorry $ uname -a FreeBSD freebsd8.my.domain

Re: Loader, MBR and the boot process

2010-01-25 Thread Matthew Seaman
Andriy Gapon wrote: on 25/01/2010 04:41 Robert Noland said the following: On Mon, 2010-01-25 at 07:57 +1100, Mark Andrews wrote: offset The offset of the start of the partition from the beginning of the drive in sectors, or * to have bsdlabel calculate the correct

Re: Extra keys in multimedia keyboard doesn't work

2010-01-25 Thread Torfinn Ingolfsen
On Sun, 24 Jan 2010 23:47:46 + Krzysztof Dajka alter...@gmail.com wrote: I did check my keyboard with FreeBSD 7.2 and it wasn't supported either. Xev also didn't return anything. Di you try this: http://www.freshports.org/misc/hotkeys/ Perhaps it will work? There is also this:

Re: PCIe audio cards: what is tob be preferred with FreeBSD 8.0/9-CURRENT?

2010-01-25 Thread Alban Hertroys
On 24 Jan 2010, at 17:36, O. Hartmann wrote: At this moment, I look for the Soundblaster X-Fi range of PCIe cards, but I'm not sure whether they are supported by FreeBSd 8/9. Any suggestions? I'm actually looking for a replacement for my X-Fi (I have the PCI X-Fi Gamer). The sound quality

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Pete French
I like to use pci-x with aoc-sat2-mv8 cards or pci-e cardsthat way you get a lot more bandwidth.. I would goalong with that - I have precisely the same controller, with a pair of eSATA drives, running ZFS mirrored. But I get a nice 100 meg/second out of them if I try. My controller is,

Re: hald running 100%

2010-01-25 Thread Ruben van Staveren
On 13 Nov 2009, at 2:59, Dan Langille wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After upgrading to 8.0-PRERELEASE today, I'm seeing hald at 100% on both my laptop and my desktop: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1500 haldaemon 1 118

Re: em interface slow down on 8.0R

2010-01-25 Thread Lars Eggert
Hi, have you tried turning off TCP Segmentation Offloading (net.inet.tcp.tso sysctl)? That fixed performance issues with some em cards for me. Lars On 2010-1-25, at 5:47, Nick Rogers wrote: I am having similar em interface problems with some of my production machines running older intel

Re: 8.0-RELEASE - -STABLE and size of /

2010-01-25 Thread Oliver Fromme
Miroslav Lachman 000.f...@quip.cz wrote: Why you are suggesting /var = 2*RAM? Is it just for saving crash dumps or anything else? And why so big /tmp? I am running servers with smaller sizes for years without any problem. Me too. I usually set up a small memory disk for /tmp. I never

Re: ata driver downgrades transfer speed for Intel ICH5 SATA150 in RELENG_8 ?

2010-01-25 Thread Alexander Motin
Kristian Kræmmer Nielsen wrote: I just updated my kernel from RELEASE_8_0 to RELENG_8 and by rutine I compare my dmesg -a output to make sure everything still works as expected. I notices that the ata-driver suddently downgraded the speed of my Intel ICH5 SATS150 from SATA150 til UDMA133 -

Re: em interface slow down on 8.0R

2010-01-25 Thread Lars Eggert
Hi, have you tried turning off TCP Segmentation Offloading (net.inet.tcp.tso sysctl)? That fixed performance issues with some em cards for me. Lars On 2010-1-25, at 5:47, Nick Rogers wrote: I am having similar em interface problems with some of my production machines running older intel

Re: hald running 100%

2010-01-25 Thread Dan Langille
On Mon, January 25, 2010 7:20 am, Ruben van Staveren wrote: On 13 Nov 2009, at 2:59, Dan Langille wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After upgrading to 8.0-PRERELEASE today, I'm seeing hald at 100% on both my laptop and my desktop: PID USERNAME THR PRI NICE SIZE

Re: em interface slow down on 8.0R

2010-01-25 Thread Nick Rogers
I have not tried toying with any tcp sysctl. I'm not having performance problems so much as the interface just stops working entirely, which I would think has nothing to do with the TCP stack when layer 2 is not functioning? I'll give it a shot if I can. For the moment I have had to switch to a

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Artem Belevich
aoc-sat2-mv8 was somewhat slower compared to ICH9 or LSI1068 controllers when I tried it with 6 and 8 disks. I think the problem is that MV8 only does 32K per transfer and that does seem to matter when you have 8 drives hooked up to it. I don't have hard numbers, but peak throughput of MV8 with

Re: PCIe audio cards: what is tob be preferred with FreeBSD 8.0/9-CURRENT?

2010-01-25 Thread O. Hartmann
On 01/25/10 04:19, per...@pluto.rain.com wrote: O. Hartmannohart...@mail.zedat.fu-berlin.de wrote: At this very moment I utilise a M-Audio 5.1 PCI-audio board with which I'm really satisfied. My next box doesn't have PCI slots at all ... I look for the Soundblaster X-Fi range of PCIe

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Alexander Motin
Artem Belevich wrote: aoc-sat2-mv8 was somewhat slower compared to ICH9 or LSI1068 controllers when I tried it with 6 and 8 disks. I think the problem is that MV8 only does 32K per transfer and that does seem to matter when you have 8 drives hooked up to it. I don't have hard numbers, but

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Dan Naumov
On Mon, Jan 25, 2010 at 7:40 PM, Alexander Motin m...@freebsd.org wrote: Artem Belevich wrote: aoc-sat2-mv8 was somewhat slower compared to ICH9 or LSI1068 controllers when I tried it with 6 and 8 disks. I think the problem is that MV8 only does 32K per transfer and that does seem to matter

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Jeremy Chadwick
On Mon, Jan 25, 2010 at 08:02:58PM +0200, Dan Naumov wrote: On Mon, Jan 25, 2010 at 7:40 PM, Alexander Motin m...@freebsd.org wrote: Artem Belevich wrote: aoc-sat2-mv8 was somewhat slower compared to ICH9 or LSI1068 controllers when I tried it with 6 and 8 disks. I think the problem is

Re: em interface slow down on 8.0R

2010-01-25 Thread Pyun YongHyeon
On Mon, Jan 25, 2010 at 08:25:43AM -0800, Nick Rogers wrote: I have not tried toying with any tcp sysctl. I'm not having performance problems so much as the interface just stops working entirely, which I would think has nothing to do with the TCP stack when layer 2 is not functioning? I'm

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Alexander Motin
Dan Naumov wrote: Alexander, since you seem to be experienced in the area, what do you think of these 2 for use in a FreeBSD8 ZFS NAS: http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=HIPMI=Y

Re: em interface slow down on 8.0R

2010-01-25 Thread Nick Rogers
On Mon, Jan 25, 2010 at 10:22 AM, Pyun YongHyeon pyu...@gmail.com wrote: On Mon, Jan 25, 2010 at 08:25:43AM -0800, Nick Rogers wrote: I have not tried toying with any tcp sysctl. I'm not having performance problems so much as the interface just stops working entirely, which I would think

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Dan Naumov
On Mon, Jan 25, 2010 at 8:32 PM, Alexander Motin m...@freebsd.org wrote: Dan Naumov wrote: Alexander, since you seem to be experienced in the area, what do you think of these 2 for use in a FreeBSD8 ZFS NAS: http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H

Re: em interface slow down on 8.0R

2010-01-25 Thread Lars Eggert
Hi, On 2010-1-25, at 19:38, Nick Rogers wrote: On Mon, Jan 25, 2010 at 10:22 AM, Pyun YongHyeon pyu...@gmail.com wrote: I'm not sure you're seeing a checksum offload bug of em(4) but the bug is easily reproducible in VLAN environments. If the issue is gone when you disable TX checksum

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Jeremy Chadwick
On Mon, Jan 25, 2010 at 08:39:01PM +0200, Dan Naumov wrote: On Mon, Jan 25, 2010 at 8:32 PM, Alexander Motin m...@freebsd.org wrote: Dan Naumov wrote: Alexander, since you seem to be experienced in the area, what do you think of these 2 for use in a FreeBSD8 ZFS NAS:

ZFS panic on RELENG_7/i386

2010-01-25 Thread Dmitry Morozovsky
Dear colleagues, I had a crash durinc rsync to ZFS today: (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc050c688 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc050c965 in panic (fmt=Variable fmt is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc08e95ce in

Re: ZFS panic on RELENG_7/i386

2010-01-25 Thread Pawel Jakub Dawidek
On Mon, Jan 25, 2010 at 10:04:20PM +0300, Dmitry Morozovsky wrote: Dear colleagues, I had a crash durinc rsync to ZFS today: Do you have recent 7-STABLE? Not sure if it was the same before MFC, probably not, because what you see is impossible in case of source I'm looking at. At the begining

Re: 8.0-RELEASE - -STABLE and size of /

2010-01-25 Thread Torfinn Ingolfsen
On Sat, 23 Jan 2010 20:41:59 -0600 Larry Rosenman l...@lerctr.org wrote: add the following to /etc/make.conf: INSTALL_NODEBUG=yes This is useful. Thanks! -- Regards, Torfinn Ingolfsen ___ freebsd-stable@freebsd.org mailing list

Re: ZFS panic on RELENG_7/i386

2010-01-25 Thread Dmitry Morozovsky
On Mon, 25 Jan 2010, Pawel Jakub Dawidek wrote: PJD On Mon, Jan 25, 2010 at 10:04:20PM +0300, Dmitry Morozovsky wrote: PJD Dear colleagues, PJD PJD I had a crash durinc rsync to ZFS today: PJD PJD Do you have recent 7-STABLE? Not sure if it was the same before MFC, r...@woozle:/var/crash#

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Chris Whitehouse
Dan Naumov wrote: CPU-performance-wise, I am not really worried. The current system is an Atom 330 and even that is a bit overkill for what I do with it and from what I am seeing, the new Atom D510 used on those boards is a tiny bit faster. What I want and care about for this system are

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Alexander Motin
Chris Whitehouse wrote: Dan Naumov wrote: CPU-performance-wise, I am not really worried. The current system is an Atom 330 and even that is a bit overkill for what I do with it and from what I am seeing, the new Atom D510 used on those boards is a tiny bit faster. What I want and care about

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Chris Whitehouse
Alexander Motin wrote: Chris Whitehouse wrote: Dan Naumov wrote: CPU-performance-wise, I am not really worried. The current system is an Atom 330 and even that is a bit overkill for what I do with it and from what I am seeing, the new Atom D510 used on those boards is a tiny bit faster. What I

Re: ZFS panic on RELENG_7/i386

2010-01-25 Thread Dmitry Morozovsky
On Mon, 25 Jan 2010, Dmitry Morozovsky wrote: DM PJD I had a crash durinc rsync to ZFS today: DM PJD DM PJD Do you have recent 7-STABLE? Not sure if it was the same before MFC, DM DM r...@woozle:/var/crash# uname -a DM FreeBSD woozle.rinet.ru 7.2-STABLE FreeBSD 7.2-STABLE #4: Mon Dec 14

Re: 8.0-RELEASE/amd64 - full ZFS install - low read and write disk performance

2010-01-25 Thread Daniel O'Connor
On Tue, 26 Jan 2010, Dan Naumov wrote: CPU-performance-wise, I am not really worried. The current system is an Atom 330 and even that is a bit overkill for what I do with it and from what I am seeing, the new Atom D510 used on those boards is a tiny bit faster. What I want and care about for

Re: Loader, MBR and the boot process

2010-01-25 Thread Robert Noland
On Mon, 2010-01-25 at 09:45 +, Matthew Seaman wrote: Andriy Gapon wrote: on 25/01/2010 04:41 Robert Noland said the following: On Mon, 2010-01-25 at 07:57 +1100, Mark Andrews wrote: offset The offset of the start of the partition from the beginning of the drive

netstat output changes in 8.0?

2010-01-25 Thread Nick Rogers
Before 8.0-RELEASE, if I ran netstat -rn, it listed a separate route for each host on the network, along with its MAC address. For example ... 172.20.172.17 00:02:b3:2f:64:6a UHLW1 105712 1500 vlan172595 172.20.172.20 00:1e:c9:bb:7c:a9 UHLW1 1002

Looking for testers: atacontrol SMART support

2010-01-25 Thread Jeremy Chadwick
As mentioned a while back on the list[1], I worked on getting atacontrol to spit out SMART statistics for ATA disks. Specifically, this would be those using the standard ata(4) layer (including ataahci.ko and similar), but not ahci(4) (ahci.ko), which uses ATA/CAM. Output resembles the

Re: em interface slow down on 8.0R

2010-01-25 Thread Joshua Boyd
I've been having a similar problem with my network dropping completely on my 8-STABLE gateway/firewall/fileserver. My setup is a little different, as I have re0 and ral0 bridged for LAN, and em0 for WAN. I've just turned off TX checksum offloading to see if that makes any difference. On Mon, Jan

Re: Looking for testers: atacontrol SMART support

2010-01-25 Thread Andrey V. Elsukov
On 26.01.2010 7:40, Jeremy Chadwick wrote: - All of the code was written by hand; that is to say, there is no code copied/stolen from smartmontools, as it's released under the GPL. Hi, Jeremy. Some time ago i've began the same work, but did not finish it because ENOTIME.. So, did you look to

Re: Looking for testers: atacontrol SMART support

2010-01-25 Thread Jeremy Chadwick
On Tue, Jan 26, 2010 at 08:38:26AM +0300, Andrey V. Elsukov wrote: On 26.01.2010 7:40, Jeremy Chadwick wrote: - All of the code was written by hand; that is to say, there is no code copied/stolen from smartmontools, as it's released under the GPL. Hi, Jeremy. Some time ago i've began the

uma_zalloc_arg complaining about non-sleepable locks

2010-01-25 Thread Peter Jeremy
I have just upgraded to 8-STABLE/amd64 from about 18 hours ago and am now getting regular (the following pair of messages about every minute) compaints as follows: kernel: uma_zalloc_arg: zone mbuf with the following non-sleepable locks held: kernel: exclusive sleep mutex sp_lock (sp_lock) r = 0