From owner-freebsd-stable@FreeBSD.ORG Sun Apr 10 04:28:21 2011 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66CA51065673; Sun, 10 Apr 2011 04:28:21 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 51F978FC15; Sun, 10 Apr 2011 04:28:21 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id p3A4SKfV001990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 9 Apr 2011 21:28:21 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CE8381CC0D; Sat, 9 Apr 2011 21:28:20 -0700 (PDT) To: Daniel Gerzo In-reply-to: Your message of "Sat, 09 Apr 2011 09:57:28 +0200." <4DA01168.8050704@FreeBSD.org> Date: Sat, 09 Apr 2011 21:28:20 -0700 From: "Kevin Oberman" Message-Id: <20110410042820.CE8381CC0D@ptavv.es.net> Cc: Alexander Motin , stable@FreeBSD.org Subject: Re: powerd / cpufreq question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 04:28:21 -0000 > Date: Sat, 09 Apr 2011 09:57:28 +0200 > From: Daniel Gerzo > Sender: owner-freebsd-stable@freebsd.org > > On 8.4.2011 19:52, Alexander Motin wrote: > > >> So, here is my attempt to implement it: > >> http://danger.rulez.sk/powerd.diff > >> Can you please review & comment? I should be able to commit it mysqlf if > >> you consider it acceptable. It seems to work for me :) > > > > Looks fine, except that -f option have to be the first, that is not > > obvious. Another moment -- I've noticed some load constants hardcoded > > there. They should also be handled to make higher values to work properly. > > I tried to be more explicit in the error message which tries to emphasis > the need to put it first. I don't know myself how it would be possible > to code it so that the -f doesn't need to be first. Ideas? > > Do you mean the values around lines of 730 - 762? > > From what I have observed, if I have a machine that is a little more > loaded (say 300%) and the load goes up, it tries to increases the > performance to quite high freq (5336) and when the load decreases again, > it takes quite a while to go down from 5366 to a frequency that is > actually available to decrease the performance (something less than > 2934). So the lower frequency is used for too short time because it > takes too much time to get it... > > >> Seems like it was enabled by default. I have like these: > >> dev.cpu.0.cx_supported: C1/3 C2/96 C3/128 > >> > >> Does that mean I only need to set these in rc.conf?: > >> performance_cx_lowest="C3" > >> economy_cx_lowest="C3" > >> > >> Then run /etc/rc.d/power_profile 0x00? > > > > It short - yes. In long - read the link I've given. > > > >> May it cause any instability? > > > > It you won't switch from LAPIC to other timer and it stop - your system > > will freeze, or at least not work well. You should notice problems > > immediately, if there are. > > So I will also need to change the kern.timecounter.hardware to i8254? I > suppose it will cause a little less precise time, but should I expect > lower performance? I don't care that much about the time accuracy. > > How do I know the C3 is active? And how does it switch back to C1 for > example? > > >>>> This is 8-STABLE, any idea whether there's a MFC plan for the extra > >>>> 9-CURRENT bonuses? > >>> > >>> I suppose around May. > >> > >> Do you have some patches? If not you don't really need to make them just > >> for me, I can wait a little. > > > > Last ones I've generated are five months old: > > http://people.freebsd.org/~mav/timers_merge/ > > They are large and I am not sure how good they apply now. > > I guess I will just stick with vanilla 8-stable and then update. > > >>>>> You may want to look here: > >>>>> http://wiki.freebsd.org/TuningPowerConsumption I would like to emphasize that simple frequency reductions through throttling and TCC really don't save power. EST, which actually does change the CPU clock AND voltage, is a win, but not a big one. I you want to reduce power, deeper sleep states are the only way to go further. Dr. Tajana Rosing of the UC-San Diego System Energy Efficiency Lab has presented research that shows that servers save by far the most power when a process gets in, runs at maximum speed and gets out to allow the system to sleep. This is clearly the only way to significantly improve power consumption in servers. If you don't enable and use S3 and better (when present), you are not being power efficient. To do this, the clock must rise very quickly and should drop slowly. And even then, it's not likely to save much power or reduce heat load significantly . -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-stable@FreeBSD.ORG Sun Apr 10 19:36:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F646106566B; Sun, 10 Apr 2011 19:36:29 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 060348FC1A; Sun, 10 Apr 2011 19:36:27 +0000 (UTC) Received: by fxm11 with SMTP id 11so4226105fxm.13 for ; Sun, 10 Apr 2011 12:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=KyOZAmSsjuZU3q1tbNSbI4Flcnl7HSZRedPVlWIwVTs=; b=ohFrU7IhQIhND9zMUaT8Z68aHGDyNrehgjkq/D33Wm6Q5HW12PNTDHMUlbgg0KIToe TD6dG36rWvcnDi9OHx1hxIFOVCKym4TTrsBYbrSHXzxk43w5qyUdOAlgX1mjwnWXp7fq qtATBxKoKx9snLT1Yaj4XN9YQMHlpZx53vVA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=ov2ZQbw+RoN9yQ57EYmcipRnowH+imMzp+mHbbCy0I7NMdieIz6U88hdbo2ugbJAd1 9248gi1eh9DMiCSm2b6kMxAR7fNVbjBJuVDueeRuHj8t69wF5dXdjmsBmaZU3s9bWreL Wtzw+kY7Gllanl3uncGhxEtlWYobUnYzWU+r4= Received: by 10.223.23.195 with SMTP id s3mr1453799fab.83.1302464187046; Sun, 10 Apr 2011 12:36:27 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id t2sm1377341faa.23.2011.04.10.12.36.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2011 12:36:24 -0700 (PDT) From: Mikolaj Golub To: Freddie Cash References: <20110402084431.GB1849@garage.freebsd.pl> X-Comment-To: Freddie Cash Sender: Mikolaj Golub Date: Sun, 10 Apr 2011 22:36:22 +0300 In-Reply-To: (Freddie Cash's message of "Mon, 4 Apr 2011 11:08:16 -0700") Message-ID: <86aafxx5jd.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Filesystems , FreeBSD Stable , FreeBSD-Current , Pawel Jakub Dawidek Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 19:36:29 -0000 On Mon, 4 Apr 2011 11:08:16 -0700 Freddie Cash wrote: FC> Once the deadlock patches above are MFC'd to -STABLE, I can do an FC> upgrade cycle and test them. Committed to STABLE. -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Sun Apr 10 19:41:26 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2338E106566C; Sun, 10 Apr 2011 19:41:26 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF0248FC14; Sun, 10 Apr 2011 19:41:24 +0000 (UTC) Received: by fxm11 with SMTP id 11so4227735fxm.13 for ; Sun, 10 Apr 2011 12:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=Ixl81Yj4A8TaJXDVfsdnuBO1Sl8w9XV3Nl+OeomNtN8=; b=WdO11fTXV1+OeHL1RaAITFpUtv6GAbGjDY3acOJFtlH6UyvJ+9BjEFKChkRKpj5WW9 5X/bFl/Kj27ISCINBp4h37vKpsyzWQgks7TqDCQeI5nEIyWoH8Bxje3zH8tyJ+7IX/Zb 9i/othImTUS7S1DnuZ1xULf6dVZBkC3LJOiHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=ZkHUh5p3EG+K+6KRulpRYfsga+99EzZVA6f+VQJOmvpwRwOADjDU1KTU9AxOhDQN4E XRLFqcFDwjxKI3YrsrYsarP2hCqAQ2izY90f/DuEK49VXOWeI+/htAoacUOqSePSDNh1 NbnwnY/Tfc6hcGLrt6tcXgqJesLJcFoTsUSNA= Received: by 10.223.54.148 with SMTP id q20mr690538fag.84.1302464484073; Sun, 10 Apr 2011 12:41:24 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id t2sm1378397faa.23.2011.04.10.12.41.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2011 12:41:23 -0700 (PDT) From: Mikolaj Golub To: Mikolaj Golub References: <20110326003348.GQ36706@equilibrium.bsdes.net> <20110401174354.GE1289@equilibrium.bsdes.net> <86pqp53cqe.fsf@kopusha.home.net> <20110402101750.GD1849@garage.freebsd.pl> <86zko7nsby.fsf@kopusha.home.net> X-Comment-To: Mikolaj Golub Sender: Mikolaj Golub Date: Sun, 10 Apr 2011 22:41:21 +0300 In-Reply-To: <86zko7nsby.fsf@kopusha.home.net> (Mikolaj Golub's message of "Sun, 03 Apr 2011 20:43:45 +0300") Message-ID: <8662qlx5b2.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kostik Belousov , Victor Balada Diaz , stable@freebsd.org, Pawel Jakub Dawidek Subject: Re: geli(4) memory leak X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2011 19:41:26 -0000 On Sun, 03 Apr 2011 20:43:45 +0300 Mikolaj Golub wrote to Pawel Jakub Dawidek: MG> On Sat, 2 Apr 2011 12:17:50 +0200 Pawel Jakub Dawidek wrote: PJD>> On Sat, Apr 02, 2011 at 12:04:09AM +0300, Mikolaj Golub wrote: >>> For me your patch look correct. But the same issue is for read :-). Also, to >>> avoid the leak I think we can just do g_destroy_bio() before "all sectors" >>> check. See the attached patch (had some testing). PJD>> The patch looks good. Please commit. MG> Commited, thanks. In STABLE too. -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 04:08:56 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B28C6106566C; Mon, 11 Apr 2011 04:08:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C7CA28FC14; Mon, 11 Apr 2011 04:08:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p3B48r0V044194; Mon, 11 Apr 2011 14:08:53 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 11 Apr 2011 14:08:52 +1000 (EST) From: Ian Smith To: =?windows-1252?Q?Daniel_Ger=9Eo?= In-Reply-To: <4D9EEDAF.3020803@rulez.sk> Message-ID: <20110411125416.S35056@sola.nimnet.asn.au> References: <4D9EEDAF.3020803@rulez.sk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: stable@freebsd.org, Alexander Motin Subject: Re: powerd / cpufreq question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 04:08:56 -0000 On Fri, 8 Apr 2011, Daniel Ger?o wrote: > Hello guys, > > I have a new machine with Xeon(R) CPU X5650 2666.77-MHz and I would like to > utilize powerd(8) on it however, when I run `powerd -v -r90' I see something > like this: > > load 64%, current freq 2668 MHz ( 0), wanted freq 5336 MHz > load 120%, current freq 2668 MHz ( 0), wanted freq 5336 MHz > load 173%, current freq 2668 MHz ( 0), wanted freq 5336 MHz > load 62%, current freq 2668 MHz ( 0), wanted freq 5336 MHz > load 82%, current freq 2668 MHz ( 0), wanted freq 5336 MHz > load 110%, current freq 2668 MHz ( 0), wanted freq 5336 MHz > > even though the machine is according to top(1) ~90% idle; So I realized, that > powerd might take the load as the sum of loads of all the cores (12), so I > tried to tweak powerd arguments like this: Hi Daniel, Alexander, all. I hope to engage more on this interesting topic later, but first: [..] > Examle of two consecutive cp_times sysctl output: > > kern.cp_times: 4182996 0 306925 85623 13563403 3164971 0 201479 93110 > 14679313 3450792 0 258166 80198 14349717 2795270 0 180252 76701 15086650 > 2952777 0 217156 119627 14849313 2418067 0 158594 73497 15488715 2408492 0 > 175131 104377 15450873 2003803 0 131790 75753 15927527 2456736 0 178894 36963 > 15466280 1607095 0 117396 4197 16410185 2127878 0 147639 30804 15832552 > 1406621 0 92686 1058 16638508 > > kern.cp_times: 4183013 0 306927 85626 13563469 3164980 0 201482 93110 > 14679390 3450796 0 258167 80199 14349800 2795274 0 180252 76701 15086735 > 2952780 0 217157 119629 14849396 2418070 0 158597 73497 15488798 2408499 0 > 175132 104377 15450954 2003804 0 131791 75753 15927614 2456744 0 178897 36963 > 15466358 1607098 0 117398 4197 16410269 2127880 0 147640 30804 15832638 > 1406621 0 92686 1058 16638597 I wrote the script included below to try making some sense of these, that defaults to using your above values, resulting in: smithi on sola% sh cptimes.sh cp_user cp_nice cp_sys cp_intr cp_idle cpu: 0 @t0 4182996 0 306925 85623 13563403 cpu: 0 @t1 4183013 0 306927 85626 13563469 17 0 2 3 66 cpu: 1 @t0 3164971 0 201479 93110 14679313 cpu: 1 @t1 3164980 0 201482 93110 14679390 9 0 3 0 77 cpu: 2 @t0 3450792 0 258166 80198 14349717 cpu: 2 @t1 3450796 0 258167 80199 14349800 4 0 1 1 83 cpu: 3 @t0 2795270 0 180252 76701 15086650 cpu: 3 @t1 2795274 0 180252 76701 15086735 4 0 0 0 85 cpu: 4 @t0 2952777 0 217156 119627 14849313 cpu: 4 @t1 2952780 0 217157 119629 14849396 3 0 1 2 83 cpu: 5 @t0 2418067 0 158594 73497 15488715 cpu: 5 @t1 2418070 0 158597 73497 15488798 3 0 3 0 83 cpu: 6 @t0 2408492 0 175131 104377 15450873 cpu: 6 @t1 2408499 0 175132 104377 15450954 7 0 1 0 81 cpu: 7 @t0 2003803 0 131790 75753 15927527 cpu: 7 @t1 2003804 0 131791 75753 15927614 1 0 1 0 87 cpu: 8 @t0 2456736 0 178894 36963 15466280 cpu: 8 @t1 2456744 0 178897 36963 15466358 8 0 3 0 78 cpu: 9 @t0 1607095 0 117396 4197 16410185 cpu: 9 @t1 1607098 0 117398 4197 16410269 3 0 2 0 84 cpu:10 @t0 2127878 0 147639 30804 15832552 cpu:10 @t1 2127880 0 147640 30804 15832638 2 0 1 0 86 cpu:11 @t0 1406621 0 92686 1058 16638508 cpu:11 @t1 1406621 0 92686 1058 16638597 0 0 0 0 89 As you see, total of differences for each cpu is here 89 ticks, but I've no idea of the interval between your two readings, or your value of HZ? Are those kern.cp_times values as they came, or did you remove trailing zeroes? Reason I ask is that on my Thinkpad T23, single-core 1133/733 MHz, sysctl kern.cp_time shows the usual 5 values, but kern.cp_times has the same 5 values for cpu0, but then 5 zeroes for each of cpu1 through cpu31, on 8.2-PRE about early January. I need to update the script to remove surplus data for non-existing cpus, but wonder if the extra data also appeared on your 12 core box? I also found that on both my old 5.5 system and at 8.2-PRE, tick values are stathz (here 128Hz) rather than hardclock ticks (here 200Hz and 1000Hz respectively). smithi on sola% sh cptimes.sh "`sysctl kern.cp_time`" "`sleep 10; sysctl kern.cp_time`" cp_user cp_nice cp_sys cp_intr cp_idle cpu: 0 @t0 73734119 307963 40043714 7694011 581512591 cpu: 0 @t1 73734218 307964 40043765 7694013 581513729 99 1 51 2 1138 Total diffs 1291, /10 = 129 per second, near enough with sleep delay. Some of this will likely change with mav@'s new eventtimers on 9.x .. BTW Alexander, eventtimers(4) and hpet(4) have lately turned up, eg: http://www.freebsd.org/cgi/man.cgi?query=eventtimers&apropos=0&sektion=0&manpath=FreeBSD+9-current&format=html but attimer(4) and atrtc(4) still have not. Bug simon@ at BSDCan? :) cheers, Ian ======= #!/bin/sh # cptimes.sh v0.2 smithi 9/4/11 # see /sys/sys/resource.h (@5.5-STABLE) .. cp_* units are stathz ticks # initial values pasted from danger@'s email time0="kern.cp_times: 4182996 0 306925 85623 13563403 3164971 0 201479 93110 14679313 3450792 0 258166 80198 14349717 2795270 0 180252 76701 15086650 2952777 0 217156 119627 14849313 2418067 0 158594 73497 15488715 2408492 0 175131 104377 15450873 2003803 0 131790 75753 15927527 2456736 0 178894 36963 15466280 1607095 0 117396 4197 16410185 2127878 0 147639 30804 15832552 1406621 0 92686 1058 16638508" time1="kern.cp_times: 4183013 0 306927 85626 13563469 3164980 0 201482 93110 14679390 3450796 0 258167 80199 14349800 2795274 0 180252 76701 15086735 2952780 0 217157 119629 14849396 2418070 0 158597 73497 15488798 2408499 0 175132 104377 15450954 2003804 0 131791 75753 15927614 2456744 0 178897 36963 15466358 1607098 0 117398 4197 16410269 2127880 0 147640 30804 15832638 1406621 0 92686 1058 16638597" # eg: sh cptimes.sh "`sysctl kern.cp_time`" "`sleep 10; sysctl kern.cp_time`" [ "$2" ] && time0="$1" && time1="$2" for i in 0 1; do eval var=\$time$i # [ "${var%% *}" != kern.cp_times: ] && echo oops! && exit 1 # also allow data without name (sysctl -n) and older kern.cp_time first=${var%% *}; [ "${first%time*:}" != kern.cp_ ] && var=" $var" set -- `echo ${var#* }` cpu=0 while [ "$1" ]; do line='' for j in 1 2 3 4 5; do [ "$line" ] && line="$line $1" || line=$1 shift done eval line_${cpu}_${i}=\"$line\" # ersatz 2D arrays cpu=$((cpu+1)) done done printdiffs() { echo -n " " while [ "$6" ]; do echo -n "`printf ' % 10i' $(($6 - $1))`" shift done echo } echo " cp_user cp_nice cp_sys cp_intr cp_idle" for cpu in `jot $cpu 0`; do for i in 0 1; do eval row_${i}=\$line_${cpu}_${i} eval line="\$row_${i}" echo "`printf 'cpu:%2u @t%1u %10u %10u %10u %10u %10u' \ $cpu $i $line`" done printdiffs $row_0 $row_1 done ======= From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 10:00:58 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1A9A106566B for ; Mon, 11 Apr 2011 10:00:58 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id AF40A8FC1A for ; Mon, 11 Apr 2011 10:00:58 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id 6884D2CE61 for ; Mon, 11 Apr 2011 12:04:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2G1m8r8wjMAc for ; Mon, 11 Apr 2011 12:04:52 +0200 (CEST) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 399E22CD1E for ; Mon, 11 Apr 2011 12:04:52 +0200 (CEST) From: Denny Schierz To: freebsd-stable Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-sr5+TvcYgs/6SAXJIJTy" Date: Mon, 11 Apr 2011 12:00:39 +0200 Message-ID: <1302516039.3223.222.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Network throughput: Never get more than 112MB/s =?iso-8859-1?q?=FCber?= two NICs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 10:00:59 -0000 --=-sr5+TvcYgs/6SAXJIJTy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi, after testing severals loadbalancing (LACP) types with Cisco, we saw, that we never get more than 112MB/s with two network cards and iperf.=20 So, we tested without loadbalancing, 4 Clients (iperf -f M -c ) and two target IPs. Every IP has his own 1Gb/s network card. On the end, two clients had a connection to IP 1 and the second two to IP 2. First we used the two onboard NICs and then, one onboard and one external NIC, but without success. We never get more then 112MB/s All are connected through a Cisco Catalyst WS-X4515. The mainboard is a Intel S3420GP. any suggestion? cu denny --=-sr5+TvcYgs/6SAXJIJTy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2i0UcACgkQKlzhkqt9P+C7sQCghsz2bzM5kGoTFvYTpHN062ef k5AAniD3DooO4NBdJSBuAOyt8RafS646 =TqFu -----END PGP SIGNATURE----- --=-sr5+TvcYgs/6SAXJIJTy-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 17:56:08 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3415B1065670 for ; Mon, 11 Apr 2011 17:56:08 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id E52358FC0C for ; Mon, 11 Apr 2011 17:56:06 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id A49242CEC2 for ; Mon, 11 Apr 2011 20:00:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uqnyrYx69FWk for ; Mon, 11 Apr 2011 20:00:01 +0200 (CEST) Received: from mac.fritz.box (ip-109-90-188-179.unitymediagroup.de [109.90.188.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 7B0D52CD1E for ; Mon, 11 Apr 2011 20:00:01 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Denny Schierz In-Reply-To: Date: Mon, 11 Apr 2011 19:55:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1302516039.3223.222.camel@pcdenny> To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.1084) Subject: =?iso-8859-1?q?Re=3A_Network_throughput=3A_Never_get_more_than_1?= =?iso-8859-1?q?12MB/s_=FCber_two_NICs?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 17:56:08 -0000 Am 11.04.2011 um 16:20 schrieb Michael Loftis: > Most switches load balance based on MAC addresses, not IP, unless it > is routing the traffic as a Layer 3 switch then you can enable IP > based load balancing in some of those. Also you might simply be that was the reason, why we disabled the loadbalancer and tested with = plain NICs.=20 > reaching the limits of your firewall box too you haven't mentioned any > of it's specs, nor do you seem to have run top while running the iperf > tests. The clients (who running iperf -c ) had a load near zero, they are = powerful machines (Sun sparcs) with 8 cores and more. The machine, with = 4 Cores (Xeon) who is running "iperf -s", had a load round about ~0.8. No firewall etc. between the hosts, just plain network :-)=20 cu denny= From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 18:26:17 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5DA1065670; Mon, 11 Apr 2011 18:26:17 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id C17398FC08; Mon, 11 Apr 2011 18:26:16 +0000 (UTC) Received: by yie12 with SMTP id 12so2687750yie.13 for ; Mon, 11 Apr 2011 11:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UJMMtolQWTT4fQ+9HTtbK9IgHf+m4L3tOdO3FJZHnrg=; b=MNE9uyrVxcJtlR7L0JaYR8sVI7oPUELKT9A+jbpqBt0eWXK1X3STrahSw3iqlJc9jV Swt+OCC9UOu0p33CTdPDix7nocXIayziRJpndos27+dSI1g83kVeZ5DKB5+y8cWR5GTN jv1OWzXf1UU4Bx8W86+T69nIGCjcyaYn44iDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qAvmKvB7awCxquNEzj649QG6PEFhytT17BT6ABjQO34Hu0cfkQ7JI9PQnHhkV4eO/v WxBdFypln28Iq0IyAsJwT4yIFr1tEVSpDphJcSPHwILezH7yD3B3HlMUX8QEmxllZdD0 2nxe6gZcMRwNi0XikDjfaKUei+kL5H/PJLrIM= MIME-Version: 1.0 Received: by 10.90.249.25 with SMTP id w25mr3166759agh.55.1302546375731; Mon, 11 Apr 2011 11:26:15 -0700 (PDT) Received: by 10.90.67.9 with HTTP; Mon, 11 Apr 2011 11:26:15 -0700 (PDT) In-Reply-To: <86aafxx5jd.fsf@kopusha.home.net> References: <20110402084431.GB1849@garage.freebsd.pl> <86aafxx5jd.fsf@kopusha.home.net> Date: Mon, 11 Apr 2011 11:26:15 -0700 Message-ID: From: Freddie Cash To: Mikolaj Golub Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Filesystems , FreeBSD Stable , FreeBSD-Current , Pawel Jakub Dawidek Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 18:26:17 -0000 On Sun, Apr 10, 2011 at 12:36 PM, Mikolaj Golub wrote= : > On Mon, 4 Apr 2011 11:08:16 -0700 Freddie Cash wrote: > =C2=A0FC> Once the deadlock patches above are MFC'd to -STABLE, I can do = an > =C2=A0FC> upgrade cycle and test them. > > Committed to STABLE. Updated src tree to r220537. Recompiled world, kernel, etc. Installed world, kernel, etc. ZFSv28 patch was not affected. Everything is detected correctly, everything comes up correctly. See a new option (reload) in the RC script for hast. Can create/change role for 24 hast devices simultaneously. Can switch between master/slave modes. Have 5 rsyncs running in parallel without any issues, transferring 80-120 Mbps over the network (just under 100 Mbps seems to be the average right now). Switching roles while the rsyncs are running succeeds without deadlocking (obviously, rsync complains a whole bunch while the switch happens as the pool disappears out from underneath it, but it picks up again when the pool is back in place). Hitting the reset switch on the box while the rsyncs are running doesn't affect the hast devices or the pool, beyond losing the last 5 seconds of writes. It's only been a couple of hours of testing and hammering, but so far things are much more stable/performant than before. Anything else I should test? --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 18:26:32 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0D181065893 for ; Mon, 11 Apr 2011 18:26:32 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id C63A38FC0A for ; Mon, 11 Apr 2011 18:26:31 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id p3BI6fcs015984 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO); Mon, 11 Apr 2011 13:06:41 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4DA34331.7000202@tundraware.com> Date: Mon, 11 Apr 2011 13:06:41 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Denny Schierz References: <1302516039.3223.222.camel@pcdenny> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (ozzie.tundraware.com [75.145.138.73]); Mon, 11 Apr 2011 13:06:41 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p3BI6fcs015984 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: freebsd-stable@freebsd.org Subject: =?iso-8859-1?q?Re=3A_Network_throughput=3A_Never_get_more_than_1?= =?iso-8859-1?q?12MB/s_=FCber_two_NICs?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 18:26:32 -0000 On 4/11/2011 12:55 PM, Denny Schierz said this: > > Am 11.04.2011 um 16:20 schrieb Michael Loftis: > >> Most switches load balance based on MAC addresses, not IP, unless it >> is routing the traffic as a Layer 3 switch then you can enable IP >> based load balancing in some of those. Also you might simply be > > that was the reason, why we disabled the loadbalancer and tested with plain NICs. > >> reaching the limits of your firewall box too you haven't mentioned any >> of it's specs, nor do you seem to have run top while running the iperf >> tests. > > The clients (who running iperf -c ) had a load near zero, they are powerful machines (Sun sparcs) with 8 cores and more. The machine, with 4 Cores (Xeon) who is running "iperf -s", had a load round about ~0.8. > > No firewall etc. between the hosts, just plain network :-) > > cu denny_______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Are you certain you are not somehow running active-passive instead of active-active ... just a thought... -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 19:52:44 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E2041065677; Mon, 11 Apr 2011 19:52:44 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3EB9F8FC08; Mon, 11 Apr 2011 19:52:43 +0000 (UTC) Received: by bwz12 with SMTP id 12so6206625bwz.13 for ; Mon, 11 Apr 2011 12:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=kXIXPANkKpQfDqNW8Pj3qaLyTIsoM6htLetHO/WepfM=; b=GkXOfFDsMseHPfCbnfV05SMG63JFgMyNdjrU3qz/eiHxSChcDFk7z+8QorA2aXDyk4 b115IhM4Vu/6WO1nIKjyFn3+viqXL4Logymdz47Rkl1iK5hgpY2uaJ6Te4tDyg9c+foJ I/qofbOfLwT3bD4dmNuCuk8Q7tMI2+UII/ZyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; b=kEIoJBv+Jxh+KJFQ0dzA0L2IUtnEKySaFI07inqX/cZn7S6m/gyOSotY50Fm2o9I6t jDjtdtrhoAqTB6/lWxG/bATgH6OKYOLEZq9rLx91q7JbuJcD2Oqvbbk4B1/gsor7ctCp AanzG2HzMG0XS2B6v2t1/Oqjmjubdarzl3sOM= Received: by 10.204.19.80 with SMTP id z16mr1150205bka.198.1302551562281; Mon, 11 Apr 2011 12:52:42 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id l1sm3411966bkl.1.2011.04.11.12.52.39 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Apr 2011 12:52:40 -0700 (PDT) From: Mikolaj Golub To: Freddie Cash References: <20110402084431.GB1849@garage.freebsd.pl> <86aafxx5jd.fsf@kopusha.home.net> X-Comment-To: Freddie Cash Sender: Mikolaj Golub Date: Mon, 11 Apr 2011 22:52:37 +0300 In-Reply-To: (Freddie Cash's message of "Mon, 11 Apr 2011 11:26:15 -0700") Message-ID: <867hb0tvju.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Cc: Mikolaj Golub , FreeBSD Filesystems , FreeBSD-Current , Pawel Jakub Dawidek , FreeBSD Stable Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 19:52:44 -0000 On Mon, 11 Apr 2011 11:26:15 -0700 Freddie Cash wrote: FC> On Sun, Apr 10, 2011 at 12:36 PM, Mikolaj Golub wrote: >> On Mon, 4 Apr 2011 11:08:16 -0700 Freddie Cash wrote: >> šFC> Once the deadlock patches above are MFC'd to -STABLE, I can do an >> šFC> upgrade cycle and test them. >> >> Committed to STABLE. FC> Updated src tree to r220537. Recompiled world, kernel, etc. FC> Installed world, kernel, etc. ZFSv28 patch was not affected. FC> Everything is detected correctly, everything comes up correctly. See FC> a new option (reload) in the RC script for hast. FC> Can create/change role for 24 hast devices simultaneously. FC> Can switch between master/slave modes. FC> Have 5 rsyncs running in parallel without any issues, transferring FC> 80-120 Mbps over the network (just under 100 Mbps seems to be the FC> average right now). FC> Switching roles while the rsyncs are running succeeds without FC> deadlocking (obviously, rsync complains a whole bunch while the switch FC> happens as the pool disappears out from underneath it, but it picks up FC> again when the pool is back in place). FC> Hitting the reset switch on the box while the rsyncs are running FC> doesn't affect the hast devices or the pool, beyond losing the last 5 FC> seconds of writes. FC> It's only been a couple of hours of testing and hammering, but so far FC> things are much more stable/performant than before. Cool! Thanks for reporting! FC> Anything else I should test? Nothing particular, but any tests and reports are appreciated. E.g. ones of the recent features Pawel has added are checksum and compression. You could try different options and compare :-) -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 19:52:52 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 582AA106579D for ; Mon, 11 Apr 2011 19:52:52 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id 150AC8FC12 for ; Mon, 11 Apr 2011 19:52:51 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id 69E8B2CED8 for ; Mon, 11 Apr 2011 21:56:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mCuyXjORyUmo for ; Mon, 11 Apr 2011 21:56:46 +0200 (CEST) Received: from mac.fritz.box (ip-109-90-188-179.unitymediagroup.de [109.90.188.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 4CD032CD1E for ; Mon, 11 Apr 2011 21:56:46 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Denny Schierz In-Reply-To: <4DA34331.7000202@tundraware.com> Date: Mon, 11 Apr 2011 21:52:42 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2C11868B-EE15-4913-A041-E342A387794C@4lin.net> References: <1302516039.3223.222.camel@pcdenny> <4DA34331.7000202@tundraware.com> To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.1084) Subject: =?iso-8859-1?q?Re=3A_Network_throughput=3A_Never_get_more_than_1?= =?iso-8859-1?q?12MB/s_=FCber_two_NICs?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 19:52:52 -0000 hi, Am 11.04.2011 um 20:06 schrieb Tim Daneliuk: > Are you certain you are not somehow running active-passive instead of = active-active ... > just a thought... 150% sure. I used two dedicated NICs WITHOUT any loadbalancing. The sum = has to be more than 112MB/s. cu denny ps. I get every answer two times, one from the list, one from the direct = reply, so please answer only to the list :-)= From owner-freebsd-stable@FreeBSD.ORG Mon Apr 11 22:35:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 650EE1065672 for ; Mon, 11 Apr 2011 22:35:37 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id 20C0E8FC0A for ; Mon, 11 Apr 2011 22:35:36 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id 935C493E01 for ; Tue, 12 Apr 2011 00:18:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.syscare.sk ([188.40.39.36]) by services.syscare.sk (services.rulez.sk [188.40.39.36]) (amavisd-new, port 10024) with ESMTP id 6AykCZcYPoiq for ; Tue, 12 Apr 2011 00:18:25 +0200 (CEST) Received: from danger-mbp.local (59576.ba.3pp.slovanet.sk [84.16.39.226]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.syscare.sk (Postfix) with ESMTPSA id C747C93DEE for ; Tue, 12 Apr 2011 00:18:25 +0200 (CEST) Message-ID: <4DA37E31.4020700@FreeBSD.org> Date: Tue, 12 Apr 2011 00:18:25 +0200 From: Daniel Gerzo Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17pre) Gecko/20110331 Lanikai/3.1.10pre MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D9EEDAF.3020803@rulez.sk> <20110411125416.S35056@sola.nimnet.asn.au> In-Reply-To: <20110411125416.S35056@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: powerd / cpufreq question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 22:35:37 -0000 On 11.4.2011 6:08, Ian Smith wrote: > > As you see, total of differences for each cpu is here 89 ticks, but I've > no idea of the interval between your two readings, or your value of HZ? the interval may have been around 1-2 seconds. My value of HZ is default, 1000. > Are those kern.cp_times values as they came, or did you remove trailing > zeroes? Reason I ask is that on my Thinkpad T23, single-core 1133/733 > MHz, sysctl kern.cp_time shows the usual 5 values, but kern.cp_times has > the same 5 values for cpu0, but then 5 zeroes for each of cpu1 through > cpu31, on 8.2-PRE about early January. I need to update the script to > remove surplus data for non-existing cpus, but wonder if the extra data > also appeared on your 12 core box? I haven't removed anything, it's a pure copy&paste. -- S pozdravom / Best regards Daniel Gerzo, FreeBSD committer From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 08:37:28 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93BDB106566C; Tue, 12 Apr 2011 08:37:28 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id 5EAA08FC0C; Tue, 12 Apr 2011 08:37:28 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q9Z6E-000623-Ju; Tue, 12 Apr 2011 09:37:26 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q9Z6E-0002qY-J0; Tue, 12 Apr 2011 09:37:26 +0100 To: fjwcash@gmail.com, trociny@freebsd.org In-Reply-To: Message-Id: From: Pete French Date: Tue, 12 Apr 2011 09:37:26 +0100 Cc: freebsd-fs@freebsd.org, pjd@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 08:37:28 -0000 > Everything is detected correctly, everything comes up correctly. See > a new option (reload) in the RC script for hast. same here - have patched the master databse achines, all came up fine, everything running erfectly, have flip-flopped between the two machines with no ill effects whatsoever, and all looking very good. cheers, -pete. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 12:17:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE461065672 for ; Tue, 12 Apr 2011 12:17:34 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id 038368FC17 for ; Tue, 12 Apr 2011 12:17:33 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id E110E2CFA1 for ; Tue, 12 Apr 2011 14:16:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id krh3rmEx1Mzj for ; Tue, 12 Apr 2011 14:16:31 +0200 (CEST) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id CA13F2CFA0 for ; Tue, 12 Apr 2011 14:16:31 +0200 (CEST) From: Denny Schierz To: freebsd-stable In-Reply-To: <2C11868B-EE15-4913-A041-E342A387794C@4lin.net> References: <1302516039.3223.222.camel@pcdenny> <4DA34331.7000202@tundraware.com> <2C11868B-EE15-4913-A041-E342A387794C@4lin.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-6cor/tp4gh5yo/Zl7Nk+" Date: Tue, 12 Apr 2011 14:12:15 +0200 Message-ID: <1302610335.11354.2.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: Network throughput: Never get more than 112MB/s =?iso-8859-1?q?=FCber?= two NICs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 12:17:34 -0000 --=-6cor/tp4gh5yo/Zl7Nk+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi, Am Montag, den 11.04.2011, 21:52 +0200 schrieb Denny Schierz: > hi, >=20 > Am 11.04.2011 um 20:06 schrieb Tim Daneliuk: >=20 > > Are you certain you are not somehow running active-passive instead of a= ctive-active ... > > just a thought... >=20 > 150% sure. I used two dedicated NICs WITHOUT any loadbalancing. The sum h= as to be more than 112MB/s. it must me the network. I tested two crossover connections and I've got 220MB/s :-) cu denny --=-6cor/tp4gh5yo/Zl7Nk+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2kQZ8ACgkQKlzhkqt9P+A/EACeMPlXlfDknUgkp2cF0mDCWlSU ThAAnjFILR4C4CK5k7vll94SivB/gE7W =EVXV -----END PGP SIGNATURE----- --=-6cor/tp4gh5yo/Zl7Nk+-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 13:21:52 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7A361065686 for ; Tue, 12 Apr 2011 13:21:52 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id AEEA98FC1D for ; Tue, 12 Apr 2011 13:21:52 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q9dXT-000Fvi-Qo for freebsd-stable@FreeBSD.org; Tue, 12 Apr 2011 14:21:51 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q9dXT-0003hQ-Q1 for freebsd-stable@FreeBSD.org; Tue, 12 Apr 2011 14:21:51 +0100 To: freebsd-stable@FreeBSD.org Message-Id: From: Pete French Date: Tue, 12 Apr 2011 14:21:51 +0100 Cc: Subject: Latest STABLE appears to break IPv6 CARP (and other oddities) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 13:21:53 -0000 I updated to STABLE yesterday to get the net hast patches - all seemed fine, so I went round and upgraded all the machines. But since then have been fighting with some odd network issues - to the point where I have rolled back to an earlier kernel to fix them. The main issue for me appears to be that CARP under IPv6 broke. It seemed to work fine (interfaces failover properly) and behaves fine under IPv4. This is a pair of machines which are actin as a firewall - so there are CARP interfaces on the outside and the inside. On the inside, none of the machines can ping the CARP IPv6 address. TAs this is their default gateway, this means they lose connectivity to the outside world. Another effect I have is that the firewall machines cannot ping any aliased IPv6 addresses on the other boxes - I add an alias to an interface, and the orignal address can be pinged, but the alias cannot. So I rolled back to an earlier kernel - I now have working IPv6 connectivity again via CARP. But I have left the rest of the machines on yesterdays kernel, and there are still some oddities with networking - the aliased address problem on one of the machines is not working. The cusrious thing is, on the ourside (where the downstream machines are Cisco routers) then CARP worked fine with the upgrade. Itr is only when talking internally to other FreeBSD machines that I see problems. Anyone have any ideas ? -pete. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 13:43:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3737B1065673 for ; Tue, 12 Apr 2011 13:43:20 +0000 (UTC) (envelope-from s.seira@cdmon.com) Received: from correo.cdmon.com (correo.cdmon.com [212.36.82.9]) by mx1.freebsd.org (Postfix) with ESMTP id E6C108FC15 for ; Tue, 12 Apr 2011 13:43:19 +0000 (UTC) Received: from genocida (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id 802E61314A5 for ; Tue, 12 Apr 2011 15:23:43 +0200 (CEST) Received: from antispam (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id 379A513123B for ; Tue, 12 Apr 2011 15:23:43 +0200 (CEST) Received: from [192.168.0.30] (155.Red-88-2-251.staticIP.rima-tde.net [88.2.251.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by correo.cdmon.com (Postfix) with ESMTP id F00881311F9 for ; Tue, 12 Apr 2011 15:23:42 +0200 (CEST) Message-ID: <4DA45264.2090501@cdmon.com> Date: Tue, 12 Apr 2011 15:23:48 +0200 From: Sergi Seira User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100515 Lightning/1.0b1 Icedove/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: background fsck high load on 8.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 13:43:20 -0000 Hello, we've experienced that background fsck on 8.1 degrades server performance on a higher degree than in previous fbsd versions (6.3, 7.3; amd64). We've noticed it after upgrading - same hardware - to a 8.1-RELEASE. Now, performance of other services (i.e. apache, mysql) during a background fsck falls miserably. Is there any way to calm fsck down?, nice(1)?, some sysctl? We have also gmirror, but we prevent to rebuild it if there is a fsck running in background. Thanks for your help, regards, Sergi -- ---8<-------------------- Sergi Seira i Espunya Departament de Sistemes s.seira@cdmon.com www.cdmon.com 93 567 7577 902 364 138 91 182 2767 ext:161 -------------------->8--- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 15:35:00 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753BD106564A for ; Tue, 12 Apr 2011 15:35:00 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 1DA108FC15 for ; Tue, 12 Apr 2011 15:34:59 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p3CFLPhI076856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2011 10:21:25 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p3CFLPLv008704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2011 10:21:25 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p3CFLO1M008639; Tue, 12 Apr 2011 10:21:24 -0500 (CDT) (envelope-from dan) Date: Tue, 12 Apr 2011 10:21:24 -0500 From: Dan Nelson To: Denny Schierz Message-ID: <20110412152124.GE10022@dan.emsphone.com> References: <1302516039.3223.222.camel@pcdenny> <4DA34331.7000202@tundraware.com> <2C11868B-EE15-4913-A041-E342A387794C@4lin.net> <1302610335.11354.2.camel@pcdenny> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1302610335.11354.2.camel@pcdenny> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Tue, 12 Apr 2011 10:21:25 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-stable Subject: Re: Network throughput: Never =?utf-8?q?get_more_than_112MB/s_?= =?utf-8?b?w7xiZXI=?= two NICs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 15:35:00 -0000 In the last episode (Apr 12), Denny Schierz said: > Am Montag, den 11.04.2011, 21:52 +0200 schrieb Denny Schierz: > > Am 11.04.2011 um 20:06 schrieb Tim Daneliuk: > > > Are you certain you are not somehow running active-passive instead of > > > active-active ... just a thought... > > > > 150% sure. I used two dedicated NICs WITHOUT any loadbalancing. The sum > > has to be more than 112MB/s. > > it must me the network. I tested two crossover connections and I've got > 220MB/s :-) Check to see whether your switch ports are oversubscribed (common for older blade switches, or very high-density blades); sometimes there will be rectangles enclosing groups of 6-8 ports, which means that they are controlled by a single chip internally. Moving each of your test machines to a separate group may improve your performance. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 16:03:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DD55106564A for ; Tue, 12 Apr 2011 16:03:26 +0000 (UTC) (envelope-from prvs=10833eeaae=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id AA09C8FC08 for ; Tue, 12 Apr 2011 16:03:25 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Tue, 12 Apr 2011 16:51:27 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 12 Apr 2011 16:51:27 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50012887856.msg for ; Tue, 12 Apr 2011 16:51:25 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=10833eeaae=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-stable@freebsd.org Message-ID: From: "Steven Hartland" To: "Sergi Seira" , References: <4DA45264.2090501@cdmon.com> Date: Tue, 12 Apr 2011 16:51:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: Subject: Re: background fsck high load on 8.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 16:03:26 -0000 The cpu requirements are usually quite low for fsck, what your most likely seeing is disk contention due to the amount of IO. Personally I would recommend to consider moving to 8.2 + ZFS as our filing system as it removes fsck from the equation, as well as giving lots of other benefits. Regards Steve ----- Original Message ----- From: "Sergi Seira" To: Sent: Tuesday, April 12, 2011 2:23 PM Subject: background fsck high load on 8.1 > Hello, > > we've experienced that background fsck on 8.1 degrades server performance on a higher degree than in previous fbsd versions > (6.3, 7.3; amd64). > > We've noticed it after upgrading - same hardware - to a 8.1-RELEASE. > Now, performance of other services (i.e. apache, mysql) during a background fsck falls miserably. > > Is there any way to calm fsck down?, nice(1)?, some sysctl? > > We have also gmirror, but we prevent to rebuild it if there is a fsck running in background. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 16:52:28 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0EC1065670 for ; Tue, 12 Apr 2011 16:52:28 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB2C8FC15 for ; Tue, 12 Apr 2011 16:52:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p3CGqPHc060450; Wed, 13 Apr 2011 02:52:25 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 13 Apr 2011 02:52:24 +1000 (EST) From: Ian Smith To: Daniel Gerzo In-Reply-To: <4DA37E31.4020700@FreeBSD.org> Message-ID: <20110413024230.Y35056@sola.nimnet.asn.au> References: <4D9EEDAF.3020803@rulez.sk> <20110411125416.S35056@sola.nimnet.asn.au> <4DA37E31.4020700@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: powerd / cpufreq question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 16:52:28 -0000 On Tue, 12 Apr 2011, Daniel Gerzo wrote: > On 11.4.2011 6:08, Ian Smith wrote: > > > > As you see, total of differences for each cpu is here 89 ticks, but I've > > no idea of the interval between your two readings, or your value of HZ? > > the interval may have been around 1-2 seconds. > My value of HZ is default, 1000. Ok, seems it depends on stathz, not HZ, so 89'd be less than 1 second if your stathz is 128 .. I gather that may be changed with the 9.x timers? > > Are those kern.cp_times values as they came, or did you remove trailing > > zeroes? Reason I ask is that on my Thinkpad T23, single-core 1133/733 > > MHz, sysctl kern.cp_time shows the usual 5 values, but kern.cp_times has > > the same 5 values for cpu0, but then 5 zeroes for each of cpu1 through > > cpu31, on 8.2-PRE about early January. I need to update the script to > > remove surplus data for non-existing cpus, but wonder if the extra data > > also appeared on your 12 core box? > > I haven't removed anything, it's a pure copy&paste. Thanks. I'll check the single-cpu case again after updating to 8.2-R cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 18:47:58 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61EC5106564A for ; Tue, 12 Apr 2011 18:47:58 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by mx1.freebsd.org (Postfix) with ESMTP id EC0798FC1D for ; Tue, 12 Apr 2011 18:47:57 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id p3CIke7e063361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2011 20:46:40 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1302634000; bh=bJJvJBAeKp9KXMDPEMUJcl1jCZnl42sTD/ulRGJN3l4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=rPTgSpSDXSI/iTlT2GB7bvRwTxaZtits4yQgYo6gIfO13MPzaEf56QKwm6KyPDkyH EMdN8mGAnKBJJ8f6EKjeZkPt/UzrBPoR+hcg4LotZwkdzmgW0g7oXMt/3LHOmnTbFF RldnWaocUJDWW5Wt7A29STSkMAyeWqn+1vcLI3cI= Date: Tue, 12 Apr 2011 20:46:40 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Denny Schierz Message-ID: <20110412184639.GA85668@acme.spoerlein.net> Mail-Followup-To: Denny Schierz , freebsd-stable References: <1302516039.3223.222.camel@pcdenny> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1302516039.3223.222.camel@pcdenny> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable Subject: Re: Network throughput: Never =?utf-8?q?get_more_than_112MB/s_?= =?utf-8?b?w7xiZXI=?= two NICs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 18:47:58 -0000 On Mon, 11.04.2011 at 12:00:39 +0200, Denny Schierz wrote: > hi, > > after testing severals loadbalancing (LACP) types with Cisco, we saw, > that we never get more than 112MB/s with two network cards and iperf. > > So, we tested without loadbalancing, 4 Clients (iperf -f M -c ) and > two target IPs. Every IP has his own 1Gb/s network card. > On the end, two clients had a connection to IP 1 and the second two to > IP 2. > > First we used the two onboard NICs and then, one onboard and one > external NIC, but without success. We never get more then 112MB/s > > All are connected through a Cisco Catalyst WS-X4515. > > The mainboard is a Intel S3420GP. Are the NICs PCI or PCIe? If the former, IIRC the PCI bus bandwidth maxes out at 133MB/s so that might explain your numbers. If your NICs are PCIe, I have no helpful clues, sorry. Uli From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 18:57:35 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 286C21065670 for ; Tue, 12 Apr 2011 18:57:35 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id AABE68FC15 for ; Tue, 12 Apr 2011 18:57:34 +0000 (UTC) Received: by fxm11 with SMTP id 11so5982976fxm.13 for ; Tue, 12 Apr 2011 11:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=nbBwoSwciH3Aw2nhEbuDf0G1wPuRyuuJlyds9nn2Thw=; b=UaBsnA6r8uxEItePMABrNi9R6VgdaN9Y4MojsAY4tVvqxncKYCHuuHKEhrrc01ZHWi xtJhPAoaOrP0X7LcipEcGQQLizjoeT2UafVZwItTEpOhK6U7RID9hDOtr6WMgeWP+Gqg oc1GkbD+ssPiwNLigW7UK19x6I5LbK0EIeSco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=rTPYINc7pPtOpl8wMBz65huPKOqEal40iNQZXSjyr+YQQX5036+D7mzfP5iSzEmIAb UX3n8oolmi+vRNQYwvrB/w9VLAzCSbDbliJttyOSxMWEYuIMPkSRaoDCUuL8WZIltHOI d1J5cpzVT3gwjHgserC8SZp9Mm4WXrExBrAJA= Received: by 10.223.101.72 with SMTP id b8mr229912fao.15.1302634653436; Tue, 12 Apr 2011 11:57:33 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id n9sm2090693fax.3.2011.04.12.11.57.31 (version=SSLv3 cipher=OTHER); Tue, 12 Apr 2011 11:57:32 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DA4A08E.6020505@FreeBSD.org> Date: Tue, 12 Apr 2011 21:57:18 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Ian Smith References: <4DA37E31.4020700@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: powerd / cpufreq question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 18:57:35 -0000 Ian Smith wrote: > On Tue, 12 Apr 2011, Daniel Gerzo wrote: > > On 11.4.2011 6:08, Ian Smith wrote: > > > > > > As you see, total of differences for each cpu is here 89 ticks, but I've > > > no idea of the interval between your two readings, or your value of HZ? > > > > the interval may have been around 1-2 seconds. > > My value of HZ is default, 1000. > > Ok, seems it depends on stathz, not HZ, so 89'd be less than 1 second if > your stathz is 128 .. I gather that may be changed with the 9.x timers? 9-CURRENT tries to set stathz to 127, or at least somewhere around. The main difference there is that clocks really tick only when CPU is running and emulated during idle periods to allow C-states do their job. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 19:35:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB18E1065675 for ; Tue, 12 Apr 2011 19:35:13 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8C38FC0A for ; Tue, 12 Apr 2011 19:35:13 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:8c0b:32ff:fee0:8d92] (unknown [IPv6:2a02:2928:a:ffff:8c0b:32ff:fee0:8d92]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id BED9923946A for ; Tue, 12 Apr 2011 21:35:11 +0200 (CEST) Message-ID: <4DA4A96F.9000507@frasunek.com> Date: Tue, 12 Apr 2011 21:35:11 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 19:35:13 -0000 Hello, I'm struggling with enabling serial console on Intel SR1630GP server platform and FreeBSD 7.4. In default configuration, my serial ports are detected correctly: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] Both serial ports are usable - sio0 is redirected to BMC and sio1 is a physical port. I can use getty on both ports. If I put following statements in /boot/loader.conf: boot_multicons="YES" boot_serial="YES" console="comconsole,vidconsole" I have correct output on serial console from loader and booting kernel, however after kernel is booted, the port is missing. Dmesg shows, that only one port is being detected, which formerly was sio1: sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] Thus, I'm unable to run getty. I belive that this issue might be related to ACPI, as similar problem was already reported in http://markmail.org/message/chu6ilwhsxtarkfm Is there any solution to this problem? From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 20:39:09 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A1C1065673 for ; Tue, 12 Apr 2011 20:39:09 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 456688FC14 for ; Tue, 12 Apr 2011 20:39:09 +0000 (UTC) Received: by wwc33 with SMTP id 33so7934855wwc.31 for ; Tue, 12 Apr 2011 13:39:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.63.18 with SMTP id z18mr6987135wbh.167.1302639220228; Tue, 12 Apr 2011 13:13:40 -0700 (PDT) Sender: andy@fud.org.nz Received: by 10.227.138.139 with HTTP; Tue, 12 Apr 2011 13:13:40 -0700 (PDT) In-Reply-To: <1302516039.3223.222.camel@pcdenny> References: <1302516039.3223.222.camel@pcdenny> Date: Wed, 13 Apr 2011 08:13:40 +1200 X-Google-Sender-Auth: WoMkpNimUZixB5IbI5-6fO-L90o Message-ID: From: Andrew Thompson To: Denny Schierz Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable Subject: =?iso-8859-1?q?Re=3A_Network_throughput=3A_Never_get_more_than_1?= =?iso-8859-1?q?12MB/s_=FCber_two_NICs?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 20:39:09 -0000 On 11 April 2011 22:00, Denny Schierz wrote: > hi, > > after testing severals loadbalancing (LACP) types with Cisco, we saw, > that we never get more than 112MB/s with two network cards and iperf. > > So, we tested without loadbalancing, 4 Clients (iperf -f M -c ) and > two target IPs. Every IP has his own 1Gb/s network card. > On the end, two clients had a connection to IP 1 and the second two to > IP 2. > > First we used the two onboard NICs and then, one onboard and one > external NIC, but without success. We never get more then 112MB/s > > All are connected through a Cisco Catalyst WS-X4515. > > The mainboard is a Intel S3420GP. > > any suggestion? Are you doing LACP from the FreeBSD host? (ie. lagg(4) interface). The current hash just uses the mac and IP addresses (not tcp/udp ports) so you need to make sure your multiple streams have different mac/ip numbers in order to load balance over multiple links. Andrew From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 20:49:59 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19A451065670 for ; Tue, 12 Apr 2011 20:49:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by mx1.freebsd.org (Postfix) with ESMTP id BA4508FC0A for ; Tue, 12 Apr 2011 20:49:57 +0000 (UTC) Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20]) by qmta13.westchester.pa.mail.comcast.net with comcast id WkaV1g0020SCNGk5DkpxFi; Tue, 12 Apr 2011 20:49:57 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta09.westchester.pa.mail.comcast.net with comcast id Wkpw1g01D1t3BNj3Vkpw8r; Tue, 12 Apr 2011 20:49:57 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0E7B99B422; Tue, 12 Apr 2011 13:49:55 -0700 (PDT) Date: Tue, 12 Apr 2011 13:49:55 -0700 From: Jeremy Chadwick To: Przemyslaw Frasunek Message-ID: <20110412204955.GA31582@icarus.home.lan> References: <4DA4A96F.9000507@frasunek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA4A96F.9000507@frasunek.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 20:49:59 -0000 On Tue, Apr 12, 2011 at 09:35:11PM +0200, Przemyslaw Frasunek wrote: > Hello, > > I'm struggling with enabling serial console on Intel SR1630GP server > platform and FreeBSD 7.4. > > In default configuration, my serial ports are detected correctly: > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > > Both serial ports are usable - sio0 is redirected to BMC and sio1 is a > physical port. I can use getty on both ports. > > If I put following statements in /boot/loader.conf: > > boot_multicons="YES" > boot_serial="YES" > console="comconsole,vidconsole" > > I have correct output on serial console from loader and booting kernel, > however after kernel is booted, the port is missing. Dmesg shows, that > only one port is being detected, which formerly was sio1: > > sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > acpi0 > sio0: type 16550A, console > sio0: [FILTER] > > Thus, I'm unable to run getty. > > I belive that this issue might be related to ACPI, as similar problem > was already reported in http://markmail.org/message/chu6ilwhsxtarkfm > > Is there any solution to this problem? Does the same problem happen on an 8.x branch? sio(4) was deprecated on 8.x with the default becoming uart(4), which "plays nicer" with ACPI. You should be able to download a LiveFS CD image and enter the above 3 commands at the loader prompt manually before doing "boot" to see if it exhibits the same behaviour. P.S. -- What's "BMC" stand for? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 21:02:59 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4CB61065672 for ; Tue, 12 Apr 2011 21:02:59 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 70E958FC16 for ; Tue, 12 Apr 2011 21:02:59 +0000 (UTC) Received: by gyg13 with SMTP id 13so3205559gyg.13 for ; Tue, 12 Apr 2011 14:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=swXjxMlQihKOMnonG9+CDuMJ7EzVV7fXDW8t/MJiPJI=; b=ersGKNYypqeqj7oMUzLUXrani2KWByTqEpUCtuhW8yzExNHa3M9cN+3JsYUSoAGQzO 8NPz5MG5e7HUKX7GkMZeSy9aTm9WrKPVbATd11Aqn7GWf903M0l/sq43JR4Qu9otJkHB 5OqJcB912bCQHUkZL/Buo0DZrLj5LCRmrJrm4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CQUeb5cbvDEwz+tT6pFNllvLM3iTPOd9lrE1EEfryCbWhY7+nNR44Rd80rhZmF7fMy TKEDcgdZ0Z+UKLciPHomjfUxw3YfW6OZaMXYhK4ZTqL98XL3rbG3Selr5z+rRlNHf0cl eutR4kqKqiGldzEluKC0J0RvhQ64CeXJil/G4= MIME-Version: 1.0 Received: by 10.90.24.40 with SMTP id 40mr6295291agx.109.1302642178397; Tue, 12 Apr 2011 14:02:58 -0700 (PDT) Received: by 10.90.67.9 with HTTP; Tue, 12 Apr 2011 14:02:58 -0700 (PDT) In-Reply-To: <20110412204955.GA31582@icarus.home.lan> References: <4DA4A96F.9000507@frasunek.com> <20110412204955.GA31582@icarus.home.lan> Date: Tue, 12 Apr 2011 14:02:58 -0700 Message-ID: From: Freddie Cash To: Jeremy Chadwick Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org, Przemyslaw Frasunek Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 21:02:59 -0000 On Tue, Apr 12, 2011 at 1:49 PM, Jeremy Chadwick wrote: > P.S. -- What's "BMC" stand for? Baseband Management Controller. It's the separate NIC (sometimes it's piggy-backed on a NIC) used for remote management of motherboards. Usually includes IPMI support. Depending on the motherboard, it may even include support for keyboard/video/mouse redirection and serial-over-lan and all that other remote management stuff. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 21:48:27 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51DE81065673 for ; Tue, 12 Apr 2011 21:48:27 +0000 (UTC) (envelope-from ptyll@nitronet.pl) Received: from mail.nitronet.pl (smtp.nitronet.pl [195.90.106.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8B68FC19 for ; Tue, 12 Apr 2011 21:48:26 +0000 (UTC) Received: from mailnull by mail.nitronet.pl with virscan (Exim 4.75 (FreeBSD)) (envelope-from ) id 1Q9ktw-000N0v-8z for freebsd-stable@freebsd.org; Tue, 12 Apr 2011 23:13:32 +0200 Date: Tue, 12 Apr 2011 23:13:06 +0200 From: Pawel Tyll X-Priority: 3 (Normal) Message-ID: <1474571124.20110412231306@nitronet.pl> To: Freddie Cash In-Reply-To: References: <4DA4A96F.9000507@frasunek.com> <20110412204955.GA31582@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Nitronet.pl X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ptyll@nitronet.pl X-SA-Exim-Scanned: No (on mail.nitronet.pl); SAEximRunCond expanded to false Cc: freebsd-stable@freebsd.org, Przemyslaw Frasunek Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 21:48:27 -0000 Hi, >> P.S. -- What's "BMC" stand for? > Baseband Management Controller. It's the separate NIC (sometimes it's > piggy-backed on a NIC) used for remote management of motherboards. > Usually includes IPMI support. Depending on the motherboard, it may > even include support for keyboard/video/mouse redirection and > serial-over-lan and all that other remote management stuff. Actually, the board in reference has built-in BMC; it's IPMI managed and when properly configured it allows user to ssh to its IP and access things like SOL, chassis power control and other IPMI things without any IPMI clients. As to video redirection, there's addon for that, built-in BMC doesn't have anything that fancy. And on point, I was having similar problems with these boards some time ago, but it seems it has been fixed somewhere between 8.1 and 8.2. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 22:42:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B56CA106564A for ; Tue, 12 Apr 2011 22:42:41 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7895D8FC08 for ; Tue, 12 Apr 2011 22:42:41 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p3CMgZfW019621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2011 17:42:35 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p3CMgYjP040159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2011 17:42:34 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p3CMgYxf040158; Tue, 12 Apr 2011 17:42:34 -0500 (CDT) (envelope-from dan) Date: Tue, 12 Apr 2011 17:42:34 -0500 From: Dan Nelson To: Denny Schierz Message-ID: <20110412224234.GF10022@dan.emsphone.com> References: <1302516039.3223.222.camel@pcdenny> <4DA34331.7000202@tundraware.com> <2C11868B-EE15-4913-A041-E342A387794C@4lin.net> <1302610335.11354.2.camel@pcdenny> <20110412152124.GE10022@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110412152124.GE10022@dan.emsphone.com> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Tue, 12 Apr 2011 17:42:35 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-stable Subject: Re: Network throughput: Never =?utf-8?q?get_more_than_112MB/s_?= =?utf-8?b?w7xiZXI=?= two NICs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 22:42:41 -0000 In the last episode (Apr 12), Dan Nelson said: > In the last episode (Apr 12), Denny Schierz said: > > Am Montag, den 11.04.2011, 21:52 +0200 schrieb Denny Schierz: > > > Am 11.04.2011 um 20:06 schrieb Tim Daneliuk: > > > > Are you certain you are not somehow running active-passive instead of > > > > active-active ... just a thought... > > > > > > 150% sure. I used two dedicated NICs WITHOUT any loadbalancing. The sum > > > has to be more than 112MB/s. > > > > it must me the network. I tested two crossover connections and I've got > > 220MB/s :-) > > Check to see whether your switch ports are oversubscribed (common for older > blade switches, or very high-density blades); sometimes there will be > rectangles enclosing groups of 6-8 ports, which means that they are > controlled by a single chip internally. Moving each of your test machines > to a separate group may improve your performance. .. I missed a line in your original post: > > All are connected through a Cisco Catalyst WS-X4515. This is a supervisor module for a 4500 series chassis, but only has two SFP ports on it. Your servers are unlikely to be plugged into it. They're probably plugged into another module. This page lists some gigabit ethernet modules that oversubscribe their ports, and which ports belong to which groups: http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/hardware/module/guide/03instal.html#wpxref23495 -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 23:08:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15D911065670 for ; Tue, 12 Apr 2011 23:08:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id B48BE8FC12 for ; Tue, 12 Apr 2011 23:08:25 +0000 (UTC) Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by qmta03.westchester.pa.mail.comcast.net with comcast id WmWj1g0021swQuc53n8RYc; Tue, 12 Apr 2011 23:08:25 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta15.westchester.pa.mail.comcast.net with comcast id Wn8Q1g00Z1t3BNj3bn8Qbr; Tue, 12 Apr 2011 23:08:25 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id C96069B422; Tue, 12 Apr 2011 16:08:22 -0700 (PDT) Date: Tue, 12 Apr 2011 16:08:22 -0700 From: Jeremy Chadwick To: Pawel Tyll Message-ID: <20110412230822.GA33610@icarus.home.lan> References: <4DA4A96F.9000507@frasunek.com> <20110412204955.GA31582@icarus.home.lan> <1474571124.20110412231306@nitronet.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474571124.20110412231306@nitronet.pl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org, Przemyslaw Frasunek Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 23:08:26 -0000 On Tue, Apr 12, 2011 at 11:13:06PM +0200, Pawel Tyll wrote: > >> P.S. -- What's "BMC" stand for? > > Baseband Management Controller. It's the separate NIC (sometimes it's > > piggy-backed on a NIC) used for remote management of motherboards. > > Usually includes IPMI support. Depending on the motherboard, it may > > even include support for keyboard/video/mouse redirection and > > serial-over-lan and all that other remote management stuff. > > Actually, the board in reference has built-in BMC; it's IPMI managed > and when properly configured it allows user to ssh to its IP and > access things like SOL, chassis power control and other IPMI things > without any IPMI clients. As to video redirection, there's addon for > that, built-in BMC doesn't have anything that fancy. And on point, I > was having similar problems with these boards some time ago, but it > seems it has been fixed somewhere between 8.1 and 8.2. If I remember correctly from following commits, there were changes to the boot loader pertaining to serial port initialisation. I think I remember something about certain control bits being set/reset when they should have been masked out (left alone). As I understand it, the serial console capabilities on FreeBSD are tested predominantly with motherboards that have on-board serial ports. That is to say, systems with classic/legacy DB9 ports on the board itself and not via IPMI or out-of-band management modules (re: BMC). So, one should not be too surprised that there may be "oddities" seen with those. I imagine that UART enumeration/initialisation might differ on such modules, so this sort of problem doesn't surprise me much. Marcel Moolenaar (author of uart(4)) probably has better insights. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 10:13:53 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E673F106566C for ; Wed, 13 Apr 2011 10:13:53 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id AFD858FC1B for ; Wed, 13 Apr 2011 10:13:53 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q9x56-0004kX-Im for freebsd-stable@FreeBSD.org; Wed, 13 Apr 2011 11:13:52 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q9x56-0006l8-I2 for freebsd-stable@FreeBSD.org; Wed, 13 Apr 2011 11:13:52 +0100 To: freebsd-stable@FreeBSD.org Message-Id: From: Pete French Date: Wed, 13 Apr 2011 11:13:52 +0100 Cc: Subject: IPv6 / ndp taking a long time to resolve in this weeks STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 10:13:54 -0000 Following on from what I write about CARP, I've noticed another strange thing happening with IPv6. Things which appear not to connect, and then connect after a few seconds. To me it looks like ndp is having a hard time mapping addresse to ether addresses. What I see is that if a ping doesnt work and I look at the ndp, it has 'no entry' in it for at least 5 seconds. Eventually it gets one, anbd thenm everyhting is fast as ever. But all a bit strange - ndp problems would epxlain what I was seeing with CARP too. Am going to try and set up a little test network here to experiment with this later today, in the meantime, has anyone else had IPv6 issues with a recent stable ? -pete. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 12:28:55 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C00010656B7 for ; Wed, 13 Apr 2011 12:28:55 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from dd16434.kasserver.com (dd16434.kasserver.com [85.13.137.111]) by mx1.freebsd.org (Postfix) with ESMTP id 627018FC1E for ; Wed, 13 Apr 2011 12:28:54 +0000 (UTC) Received: from taiko.lan (ppp-78-40.21-151.libero.it [151.21.40.78]) by dd16434.kasserver.com (Postfix) with ESMTPSA id 6799C2356001 for ; Wed, 13 Apr 2011 14:28:53 +0200 (CEST) Message-ID: <4DA596D3.1090803@chillt.de> Date: Wed, 13 Apr 2011 14:28:03 +0200 From: Bartosz Fabianowski User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: System extremely slow under light load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 12:28:55 -0000 Hi list I am having problems with my 8.2-STABLE laptop. At times, even a very light load makes the system grind to a halt. Once an application is in the foreground, I can interact with it just fine. But when I click on a long-unused menu item or try to switch applications, I have to wait dozens of seconds or even minutes. It feels as if things were being swapped in very slowly. However, top says otherwise: The box has 4 GB of RAM with only 680 MB used. On top of that, 69 MB of swap are in used. That last number does not seem to be changing, so nothing is being swapped in or out. The load that seems to cause the worst problems is an import of OpenStreetMap data into a PostgreSQL 9 database. This does not exercise the CPU (a Core i7 Quad) much as CPU load hovers around the 20% mark most of the time and powerd is happy to reduce the operating frequency down to a few hundred MHz. There also does not seem to be much disk activity. So, memory, CPU and disk all seem fine. And still, whenever I try to switch applications, I have to wait minutes for them to appear. I am having a hard time figuring out what is going on. Any tips would be greatly appreciated. I am including the outputs of vmstat -c 2 and iostat -c 2 in the hope that these may shed some light on this. Thanks, - Bartosz Fabianowski vmstat -c 2 procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 cd0 in sy cs us sy id 0 1 20 21376M 203M 1652 2 1 1 2993 289 0 0 90 949 2764 5 2 93 0 0 20 21378M 197M 1332 0 5 1 2165 0 58 0 208 7875 3614 2 2 96 iostat -c 2 tty ada0 cd0 pass0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 188 2367 51.73 22 1.12 0.00 0 0.00 0.00 0 0.00 3 1 2 0 93 1 991 18.06 49 0.86 0.00 0 0.00 0.00 0 0.00 3 0 2 0 94 From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 13:05:09 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 492BE106566C for ; Wed, 13 Apr 2011 13:05:09 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id F23E68FC08 for ; Wed, 13 Apr 2011 13:05:07 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id C381A2D0CB for ; Wed, 13 Apr 2011 15:09:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2y2g3NYHc4qp for ; Wed, 13 Apr 2011 15:09:06 +0200 (CEST) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 71BBF2CFD7 for ; Wed, 13 Apr 2011 15:09:06 +0200 (CEST) From: Denny Schierz To: freebsd-stable In-Reply-To: <20110412224234.GF10022@dan.emsphone.com> References: <1302516039.3223.222.camel@pcdenny> <4DA34331.7000202@tundraware.com> <2C11868B-EE15-4913-A041-E342A387794C@4lin.net> <1302610335.11354.2.camel@pcdenny> <20110412152124.GE10022@dan.emsphone.com> <20110412224234.GF10022@dan.emsphone.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-DMQTE3cFNMz/VjoTzDhz" Date: Wed, 13 Apr 2011 15:04:47 +0200 Message-ID: <1302699887.11354.132.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: Network throughput: Never get more than 112MB/s =?iso-8859-1?q?=FCber?= two NICs *SOLVED* X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 13:05:09 -0000 --=-DMQTE3cFNMz/VjoTzDhz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Dan, Am Dienstag, den 12.04.2011, 17:42 -0500 schrieb Dan Nelson: > http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/hardware/module= /guide/03instal.html#wpxref23495 you saved our week :-) That was it. My Cisco administrator take a closer look and found out, that both NICs was connected to the same backplane (aha! :-) ) and switched them. Now I get, what I have expected :-) Thank you very very much :-) --=-DMQTE3cFNMz/VjoTzDhz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2ln20ACgkQKlzhkqt9P+CDTgCfboVuYoCS9Jww20cd1LR5XP1W QAoAnj9EsMEtSzH9Qgblhc0/SvQphlDs =S9Cw -----END PGP SIGNATURE----- --=-DMQTE3cFNMz/VjoTzDhz-- From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 15:04:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C8C4106566C for ; Wed, 13 Apr 2011 15:04:41 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1738FC0A for ; Wed, 13 Apr 2011 15:04:40 +0000 (UTC) Received: from PWSVL-EXCHTS-01.internal.cacheflow.com ([10.2.2.122]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id p3DEq9Ju014099 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 13 Apr 2011 07:52:10 -0700 (PDT) Received: from PWSVL-EXCMBX-01.internal.cacheflow.com ([fe80::15bc:12e2:4676:340f]) by PWSVL-EXCHTS-01.internal.cacheflow.com ([fe80::5c50:e2ba:8115:4223%20]) with mapi id 14.01.0255.000; Wed, 13 Apr 2011 07:52:06 -0700 From: "Li, Qing" To: Pete French , "freebsd-stable@freebsd.org" Thread-Topic: IPv6 / ndp taking a long time to resolve in this weeks STABLE Thread-Index: AQHL+cOkKKZnKebT+ECqn4FQh7zGBZRb33zw Date: Wed, 13 Apr 2011 14:52:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.150.1.170] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: RE: IPv6 / ndp taking a long time to resolve in this weeks STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 15:04:41 -0000 I haven't modified the ndp related code for quite a long time, but recently= have seen some postings regarding incomplete ndp entries (still catching up on emails= ). Changes committed in the past year or so were related to locking and memory= leak, not functional updates. I have seen this issue with ARP, where incoming ARP requests are not comple= ting the entries until an explicit outgoing packet is generated right after the system boots. Email me when you recreate the problem. --Qing > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Pete French > Sent: Wednesday, April 13, 2011 3:14 AM > To: freebsd-stable@freebsd.org > Subject: IPv6 / ndp taking a long time to resolve in this weeks STABLE >=20 > Following on from what I write about CARP, I've noticed another strange > thing happening with IPv6. Things which appear not to connect, and then > connect after a few seconds. To me it looks like ndp is having a > hard time mapping addresse to ether addresses. What I see is that > if a ping doesnt work and I look at the ndp, it has 'no entry' in > it for at least 5 seconds. Eventually it gets one, anbd thenm > everyhting > is fast as ever. But all a bit strange - ndp problems would epxlain > what I was seeing with CARP too. >=20 > Am going to try and set up a little test network here to experiment > with > this later today, in the meantime, has anyone else had IPv6 issues with > a recent stable ? >=20 > -pete. >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable- > unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 15:12:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FF131065673 for ; Wed, 13 Apr 2011 15:12:22 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id C7E788FC0C for ; Wed, 13 Apr 2011 15:12:21 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1QA1jq-000EpB-36; Wed, 13 Apr 2011 16:12:14 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1QA1jq-0001Bm-2D; Wed, 13 Apr 2011 16:12:14 +0100 To: freebsd-stable@freebsd.org, petefrench@ingresso.co.uk, qing.li@bluecoat.com In-Reply-To: Message-Id: From: Pete French Date: Wed, 13 Apr 2011 16:12:14 +0100 Cc: Subject: RE: IPv6 / ndp taking a long time to resolve in this weeks STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 15:12:22 -0000 > I haven't modified the ndp related code for quite a long time, but recently have seen > some postings regarding incomplete ndp entries (still catching up on emails). > > Changes committed in the past year or so were related to locking and memory leak, not > functional updates. > > I have seen this issue with ARP, where incoming ARP requests are not completing > the entries until an explicit outgoing packet is generated right after the > system boots. > > Email me when you recreate the problem. Hi, thanks for the email - I canb recreate this very easily here now. I have also shown that it the problem doesnt happen on a kernel from Feb 25th, but does happen on a kernel from this week. cery easy to demonstarte - set up 2 machines. Ping one from the other so that it is pinging nicely. Then delete the ndp entry. The ping freezes - sometimes for 20 seconds! It eventually starts again with all the inrtervening packets lost. This only happens if the machone being oinged is running the newer kernel. If you do it the other way round then all is fine. I havent tried to reproduce what I saw with CARP - but that feels like the same problem to me. i.e. ndp cannot find the CARP interface's ether address, and tahst why connectivity does not work. -pete. From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 16:39:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7694D106564A; Wed, 13 Apr 2011 16:39:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A60728FC12; Wed, 13 Apr 2011 16:39:19 +0000 (UTC) Received: by fxm11 with SMTP id 11so776458fxm.13 for ; Wed, 13 Apr 2011 09:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=1V/ej9kEPFQ8GtxpHLmcyxUsTxRYSwIchTQ1XxY+7jE=; b=WtYbttk3CfpeI8w9f2wuFAYWoDUzCldon87jnLG2VHnTgrr1GOHgudtzOQvbLJDhHt x3fhmWTVdXMe0WNDL6HXhVLIc5TTJoksllh/rGK51oKtAa211vOI3XE45PhuvpaAovCc 4WKxt4nJUrwWQCmIslSr8iKSonci7IvUemIC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=s5vnI287MZwAmAwnyXtF3faelBxiyDL8NWdOAjLAqMBoBDhUDwhnjGIdgWb5VWH8DU EgJ9blh9Mcg8IRp/kSuW6ztqJM8nAcC65OfTih+BoTkN/gPYTbSz8ThdV/MZcRv902Gh w0MNgW+/zbxuOV/UyMCNm2RsIAGK4U1SGTaOU= Received: by 10.223.91.79 with SMTP id l15mr2453584fam.53.1302712758516; Wed, 13 Apr 2011 09:39:18 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id g5sm234002faa.26.2011.04.13.09.39.16 (version=SSLv3 cipher=OTHER); Wed, 13 Apr 2011 09:39:17 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DA5D1A5.6090806@FreeBSD.org> Date: Wed, 13 Apr 2011 19:39:01 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Buganini References: <4CD45209.5010607@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, FreeBSD-Current , FreeBSD Stable Subject: Re: Sense fetching [Was: cdrtools /devel ...] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 16:39:20 -0000 Buganini wrote: > does r22056{3,5,6,9} supercede these patches ? Yes. They solve problem from different side. > my dvd burning with ahci seems to be fixed by those commits, > without these patches. > > I've just burned a DVD successful, and it's readable. Yea, I've also burned few DVDs with cdrecord-devel for testing. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 17:13:21 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5E52106564A; Wed, 13 Apr 2011 17:13:21 +0000 (UTC) (envelope-from buganini@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9F9248FC08; Wed, 13 Apr 2011 17:13:21 +0000 (UTC) Received: by iyj12 with SMTP id 12so936550iyj.13 for ; Wed, 13 Apr 2011 10:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fWEOHKKI9Ho86q14Dk2OeVZCU1Tr3bR9Y9CU+ErCHDc=; b=Z2C/TZGgfL5V4sfVi14i6G4iKUiF+inTFsoBioaxbd6UHcZW4eY9ThOMMgzYw/1dal ddyo0r52UIlx4/4ToGknxTTKyHkIyOD2oHPp9r5TkHLCs/jDhg6M5N5Wyj8DYuEEnHKg aXkAI4C5ab1A+o4It5UAsyxTf2UrrG4U/CqI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sfd1I9lGxGCAT/w/MPaXe1lUJavVhkwmvDZ6hYUGQG5tG+28ePJgYcxHitwMJMLfSe bLT3OeCyMZwkQXExoYMZRwTAMjxKGm1LgsrR7QV6W16RNRTbF2++jYM9fOXRqyIu3i+f SvfpK7YBtN5DUUVpPYwWKXQt08jWEVDuM5rj4= MIME-Version: 1.0 Received: by 10.42.158.132 with SMTP id h4mr19012icx.202.1302712231495; Wed, 13 Apr 2011 09:30:31 -0700 (PDT) Received: by 10.231.30.203 with HTTP; Wed, 13 Apr 2011 09:30:31 -0700 (PDT) In-Reply-To: <4CD45209.5010607@FreeBSD.org> References: <4CD45209.5010607@FreeBSD.org> Date: Thu, 14 Apr 2011 00:30:31 +0800 Message-ID: From: Buganini To: Alexander Motin Content-Type: text/plain; charset=UTF-8 Cc: freebsd-scsi@freebsd.org, FreeBSD-Current , FreeBSD Stable Subject: Re: Sense fetching [Was: cdrtools /devel ...] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 17:13:22 -0000 does r22056{3,5,6,9} supercede these patches ? my dvd burning with ahci seems to be fixed by those commits, without these patches. I've just burned a DVD successful, and it's readable. Thanks, Buganini From owner-freebsd-stable@FreeBSD.ORG Wed Apr 13 18:31:58 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1537106564A for ; Wed, 13 Apr 2011 18:31:58 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAAC8FC0C for ; Wed, 13 Apr 2011 18:31:58 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QA4YN-0008L2-8j for freebsd-stable@freebsd.org; Wed, 13 Apr 2011 11:12:35 -0700 Date: Wed, 13 Apr 2011 11:12:35 -0700 (PDT) From: Jakub Lach To: freebsd-stable@freebsd.org Message-ID: <1302718355265-4301306.post@n5.nabble.com> In-Reply-To: <4DA5D1A5.6090806@FreeBSD.org> References: <4CD45209.5010607@FreeBSD.org> <4DA5D1A5.6090806@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Sense fetching [Was: cdrtools /devel ...] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2011 18:31:58 -0000 Great, is MFC planned? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Sense-fetching-Was-cdrtools-devel-tp3944480p4301306.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 09:05:06 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3570A106564A; Thu, 14 Apr 2011 09:05:06 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id B24B18FC18; Thu, 14 Apr 2011 09:05:05 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id E7AE825D37C4; Thu, 14 Apr 2011 09:05:04 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 3BDA8159CE75; Thu, 14 Apr 2011 09:05:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id kbIhFjLnIsVQ; Thu, 14 Apr 2011 09:05:02 +0000 (UTC) Received: by mail.sbone.de (Postfix, from userid 66) id E4C96159C029; Thu, 14 Apr 2011 09:05:02 +0000 (UTC) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 79F6E444A12; Thu, 14 Apr 2011 09:04:58 +0000 (UTC) Date: Thu, 14 Apr 2011 09:04:57 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: FreeBSD virtualization mailing list Message-ID: <20110414090222.O3039@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD stable mailing list Subject: HEADS UP: will merge VNET socket push back changes to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 09:05:06 -0000 Hi, this is a heads up in case anyone is relying on this in private VNET modules or code. I am planning on merging this code to stable/8 probably during the weekend. It should be a NOP for almost everyone, especially if not running a VIMAGE kernel. /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. ---------- Forwarded message ---------- Date: Wed, 16 Feb 2011 21:29:14 +0000 (UTC) From: Bjoern A. Zeeb To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218757 - in head/sys: fs/nfsclient fs/portalfs kern net netgraph/bluetooth/socket netinet nfsclient rpc Author: bz Date: Wed Feb 16 21:29:13 2011 New Revision: 218757 URL: http://svn.freebsd.org/changeset/base/218757 Log: Mfp4 CH=177274,177280,177284-177285,177297,177324-177325 VNET socket push back: try to minimize the number of places where we have to switch vnets and narrow down the time we stay switched. Add assertions to the socket code to catch possibly unset vnets as seen in r204147. While this reduces the number of vnet recursion in some places like NFS, POSIX local sockets and some netgraph, .. recursions are impossible to fix. The current expectations are documented at the beginning of uipc_socket.c along with the other information there. Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH Reviewed by: jhb Tested by: zec Tested by: Mikolaj Golub (to.my.trociny gmail.com) MFC after: 2 weeks From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 09:52:02 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A44AA1065674; Thu, 14 Apr 2011 09:52:02 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5462A8FC14; Thu, 14 Apr 2011 09:52:02 +0000 (UTC) Received: by iwn33 with SMTP id 33so1670098iwn.13 for ; Thu, 14 Apr 2011 02:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:message-id:to:subject:from:reply-to :cc:x-send-pr-version:x-gnats-notify; bh=MO0/g7oPtTpiYnusVJZO2T42gWm1+S//667G1S1QvaY=; b=XD1M/0pkl+QkGx8ExWYKHw4rBpjvVQfUOCiYZuK3i5iT3AUrCLmUilyZ8Ky+fivqpO U7haDcSWP08cusDqgUb2hXnB+g/g2qtJmRS4uieYPdr+FpxnKiWXPfn6tc9Olnb/L9w/ pMrTyuL/XhTvMJ9W7n0bcEpheb7uCnF5lX9zw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:to:subject:from:reply-to:cc :x-send-pr-version:x-gnats-notify; b=k6U2Zqd9n4V+otHyRVzruayz+lh0ORNa4bRWFZFm+oRNXjdAo3yIFCCQ7550qLlfjB 5sPqTjd2KiQ+iBneSnQYvawbM99LLjEDD56YZe2iSHU8uxcbqEGx1pn0jm3+U7OwnBaE +iAJpOeVdtDM/fdcqLXuLW1zlZP7rrHIV1hM4= Received: by 10.42.123.15 with SMTP id p15mr764314icr.93.1302772927118; Thu, 14 Apr 2011 02:22:07 -0700 (PDT) Received: from DataIX.net ([99.19.43.8]) by mx.google.com with ESMTPS id wo11sm1007110icb.20.2011.04.14.02.22.04 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2011 02:22:05 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p3E9M2Ta053053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2011 05:22:02 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p3E9M246053052; Thu, 14 Apr 2011 05:22:02 -0400 (EDT) (envelope-from jhell) Date: Thu, 14 Apr 2011 05:22:02 -0400 (EDT) Message-Id: <201104140922.p3E9M246053052@DataIX.net> To: FreeBSD-gnats-submit@freebsd.org From: "J. Hellenthal" X-send-pr-version: 3.113 X-GNATS-Notify: Cc: stable@freebsd.org Subject: Make 220.backup-pkgdb cd(1) and backup only the package database. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J. Hellenthal" List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 09:52:02 -0000 >Submitter-Id: current-users >Originator: J. Hellenthal >Organization: >Confidential: no >Synopsis: Make 220.backup-pkgdb cd(1) and backup only the package database. >Severity: non-critical >Priority: medium >Category: conf >Class: change-request >Release: FreeBSD 8.2-STABLE i386 >Environment: System: FreeBSD 8.2-STABLE #0 r220564M Tue Apr 12 10:02:17 EDT 2011 i386 >Description: Currently the backup script archives a full path starting from '/' and then strips the leading slash off of the path which is correct. Upon extraction that full path without the leading slash is extracted in the current directory as var/db/pkg/ with the first two and possibly more directories left empty. If a user has a different PKG_DBDIR as designated by ports(7) that is larger this can lead to frustration with the length of emptiness in the archive with the leading paths. >How-To-Repeat: Run ( /etc/periodic/daily/220.backup-pkgdb ) and extract the archive located in /var/backups/ >Fix: This patch makes 220.backup-pkgdb respectifully cd to where the pkgdb is located and create the archive from the relative path so there is only the pkgdb directory and contents upon extraction. http://patches.jhell.googlecode.com/hg/220.backup-pkgdb_cd.patch?r=f60df831e62d64fd336b6c6612a6619eaf17a17f diff -r aa37d382121b -r 3fbae1ba29a4 etc/periodic/daily/220.backup-pkgdb --- a/etc/periodic/daily/220.backup-pkgdb +++ b/etc/periodic/daily/220.backup-pkgdb @@ -33,7 +33,8 @@ new_bak_file=`mktemp ${bak_file}-XXXXX` - if tar -cjf "${new_bak_file}" "$pkg_dbdir"; then + cd $pkg_dbdir/.. + if tar -cjf "${new_bak_file}" "$(basename $pkg_dbdir)"; then chmod 644 "${new_bak_file}" if [ -e "${bak_file}.2" -a -e "${bak_file}" ]; then From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 10:37:02 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E840106564A; Thu, 14 Apr 2011 10:37:02 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id AFF098FC15; Thu, 14 Apr 2011 10:37:01 +0000 (UTC) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.14.4/8.14.4) with ESMTP id p3EAaunt019815; Thu, 14 Apr 2011 12:36:57 +0200 Received: from pmp.uni-hannover.de (unknown [130.75.117.3]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 1FEDF10A; Thu, 14 Apr 2011 12:36:56 +0200 (CEST) Date: Thu, 14 Apr 2011 12:36:56 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Artem Belevich Message-Id: <20110414123656.4acadd9f.gerrit@pmp.uni-hannover.de> In-Reply-To: <6074_1301927844_4D99D7A4_6074_1152_1_BANLkTik5JwJDs4wRh3aRD7Y=sU7o3k1CqA@mail.gmail.com> References: <20110404150701.c5c050ff.gerrit@pmp.uni-hannover.de> <20110404143625.00002eb1@unknown> <20110404160314.aef3ca92.gerrit@pmp.uni-hannover.de> <6074_1301927844_4D99D7A4_6074_1152_1_BANLkTik5JwJDs4wRh3aRD7Y=sU7o3k1CqA@mail.gmail.com> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 3.0.3 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.4.14.103018 Cc: Bruce Cran , freebsd-stable@freebsd.org Subject: Re: drives >2TB on mpt device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gerrit.kuehn@aei.mpg.de List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 10:37:02 -0000 On Mon, 4 Apr 2011 07:37:15 -0700 Artem Belevich wrote about Re: drives >2TB on mpt device: AB> You're probably out of luck as far as 2Tb+ support for 1068-based HBAs: AB> http://kb.lsi.com/KnowledgebaseArticle16399.aspx AB> AB> Newer controllers based on LSI2008 (mps driver?) should not have that AB> limit. For the record: My latest info from Supermicro is that the chip would do above 2TB with SAS drives, but doesn't do it with SATA... However, I changed to a 3ware 9650se controller now. I had to flash a beta firmware to get 2.8GB recognized on the drives, but now it seems to work. Only the twa device/controller responds with a reset when trying to do "zdb -C"... strange. But apart from that the drives seem to work fine, even with zfs. To sum up what I experienced during the last days: all "cheap" controllers I tried (nvidia mcp55 onboard, SiI 3124) work fine out-of-the-box. All expensive, scsi-like stuff (3ware 9650, lsi) needs at least firmware updates or does not work (meaning shows either 2TB, 800GB or does not work at all). For my "old" 3ware 9550 controllers there is not even a beta firmware available to fix the problem. :-( cu Gerrit From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 13:20:21 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 084441065687 for ; Thu, 14 Apr 2011 13:20:21 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 8ACB68FC14 for ; Thu, 14 Apr 2011 13:20:20 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p3ED5eQS069943 for ; Thu, 14 Apr 2011 15:05:40 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p3ED5e9m069942 for freebsd-stable@freebsd.org; Thu, 14 Apr 2011 15:05:40 +0200 (CEST) (envelope-from elon) Date: Thu, 14 Apr 2011 15:05:40 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: freebsd-stable@freebsd.org Message-ID: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 13:20:21 -0000 Hi, i tried setting the mtu on one of my ixgbe(4) intel NICs to support jumbo frames. This is on a box with RELENG_8 from today. # ifconfig ix0 mtu 9198 I then get the following error: # tail -n 1 /var/log/messages Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures I already tried the following patch because of Jack Vogel's advice given in the following thread on -stable in Oct. last year, which still produces the same error message and leaves the box unpingable: http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.html # cat ~/patches/ixgbe.num_queues_to_4.patch --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe * number of cpus. Each queue is a pair * of RX and TX rings with a msix vector */ -static int ixgbe_num_queues = 0; +static int ixgbe_num_queues = 4; TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); /* From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:15:19 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 067AF106566B for ; Thu, 14 Apr 2011 14:15:19 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id C7E5B8FC1D for ; Thu, 14 Apr 2011 14:15:18 +0000 (UTC) Received: by pxi6 with SMTP id 6so1472436pxi.17 for ; Thu, 14 Apr 2011 07:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UwIishqC7lX/r74NqUKH1VRuXxK2lX841Xl/yFFWL3s=; b=EqqG+dLMRXRIGAupxj4Z0PxlQfb+Km/HuIVycArMMp2S7xeMu1jfVjNDnteOkdW5it pmbsY3YKOdPvEkCBrNoAf1FtoiFyRPR8mE1pxlnA2G3eCBSXh+HE9QrtCGRna4Hdyk8Z wWgeybf80m+iHO7hsOanxP+mQoiOkC2qP98VM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=mFme3MLbZXoRmqlxl+v2JRDNT1Yd69wgqrvuleEva2SEkzA25BX1OaiPZHr0Ha4zsJ gnB/QxtDyY5+kL4Is+wiIVhLTDJbo5zh2XseLzJSnMYBxFvEK5SFGPOLj6osL6Z+71gj 9tbKiK8yFiBlUdzWPG9SYIxcnx9Oa1L6hq0YE= MIME-Version: 1.0 Received: by 10.68.59.229 with SMTP id c5mr518181pbr.111.1302788663873; Thu, 14 Apr 2011 06:44:23 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 06:44:23 -0700 (PDT) In-Reply-To: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 15:44:23 +0200 X-Google-Sender-Auth: CvoVmfLG7rvIXVxgfywcNkjN-9s Message-ID: From: "K. Macy" To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:15:19 -0000 How many 9k jumbo clusters are available? On Thu, Apr 14, 2011 at 3:05 PM, Leon Me=DFner wrote: > Hi, > > i tried setting the mtu on one of my ixgbe(4) intel NICs to support > jumbo frames. This is on a box with RELENG_8 from today. > > # ifconfig ix0 mtu 9198 > > I then get the following error: > > # tail -n 1 /var/log/messages > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures > > I already tried the following patch because of Jack Vogel's advice given > in the following thread on -stable in Oct. last year, which still > produces the same error message and leaves the box unpingable: > > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.htm= l > > # cat ~/patches/ixgbe.num_queues_to_4.patch > --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 > +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 +0000 > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > =A0* number of cpus. Each queue is a pair > =A0 =A0* of RX and TX rings with a msix vector > =A0 =A0 =A0*/ > =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; > =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; > =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > > =A0 =A0 =A0 =A0 /* > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:18:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0043F1065672 for ; Thu, 14 Apr 2011 14:18:19 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 7E82A8FC13 for ; Thu, 14 Apr 2011 14:18:19 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p3EEIILZ077576; Thu, 14 Apr 2011 16:18:18 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p3EEIHhF077575; Thu, 14 Apr 2011 16:18:17 +0200 (CEST) (envelope-from elon) Date: Thu, 14 Apr 2011 16:18:17 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: "K. Macy" Message-ID: <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: "K. Macy" , freebsd-stable@freebsd.org, Leon =?iso-8859-15?Q?Me=DFner?= References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Leon =?iso-8859-15?Q?Me=DFner?= , freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:18:20 -0000 On Thu, Apr 14, 2011 at 03:44:23PM +0200, K. Macy wrote: > How many 9k jumbo clusters are available? Does this output suffice as information ? # netstat -m 8194/1031/9225 mbufs in use (current/cache/total) 8192/518/8710/25600 mbuf clusters in use (current/cache/total/max) 8192/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/5/5/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 18432K/1313K/19746K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines > On Thu, Apr 14, 2011 at 3:05 PM, Leon Meßner > wrote: > > Hi, > > > > i tried setting the mtu on one of my ixgbe(4) intel NICs to support > > jumbo frames. This is on a box with RELENG_8 from today. > > > > # ifconfig ix0 mtu 9198 > > > > I then get the following error: > > > > # tail -n 1 /var/log/messages > > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures > > > > I already tried the following patch because of Jack Vogel's advice given > > in the following thread on -stable in Oct. last year, which still > > produces the same error message and leaves the box unpingable: > > > > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.html > > > > # cat ~/patches/ixgbe.num_queues_to_4.patch > > --- /root/.vimbackup/ixgbe.c~   2011-04-12 22:14:27.000000000 +0000 > > +++ sys/dev/ixgbe/ixgbe.c       2011-04-12 22:14:27.000000000 +0000 > > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > >  * number of cpus. Each queue is a pair > >    * of RX and TX rings with a msix vector > >      */ > >      -static int ixgbe_num_queues = 0; > >      +static int ixgbe_num_queues = 4; > >       TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > > > >         /* > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:20:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906C91065673; Thu, 14 Apr 2011 14:20:20 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 54E7A8FC1F; Thu, 14 Apr 2011 14:20:20 +0000 (UTC) Received: by pwj8 with SMTP id 8so836227pwj.13 for ; Thu, 14 Apr 2011 07:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hajk+2E2nDeXCisdLWiAAHCjKHYzH+dql0cuucu1gBY=; b=rt7UlsfgTk5cx6uqsKVOj9X9MZbbmLuThseEooCn4DbwLyKEzDz2ARWYDWvwxdVUvu 6fMZ9xdmAXv3raHMKJ6kD2SG8NFG4yTPIdtjvhSrq9op0y1nypcPMoaIijiI95Di+w4m l0JoT+AX3+gB5D1+WrjUkxx5uzyQBCQ0s5dOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=bFJWTpK2GsjfCHzuBehzralzT7/DHHJU4HV18ATUjG97kijVcLy+VufYKGqkXQpl2t mUf2wUABvf+Bup+9Wq+atx9rqFWlSD2EMIEtOHSz4ifSPMhTbaLi3Nmg+Lbk+8jbg0BD ViVHCjYpHYxYqhCDfAhY2gaSIy8p8Vm7fzBV0= MIME-Version: 1.0 Received: by 10.68.52.227 with SMTP id w3mr481806pbo.312.1302790819933; Thu, 14 Apr 2011 07:20:19 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 07:20:19 -0700 (PDT) In-Reply-To: <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 16:20:19 +0200 X-Google-Sender-Auth: zp3kRZGnfgfHsISzvcSEGc3cWcY Message-ID: From: "K. Macy" To: "K. Macy" , freebsd-stable@freebsd.org, =?ISO-8859-1?Q?Leon_Me=DFner?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:20:20 -0000 That should be plenty, but how large are your receive queues? \Kip On Thu, Apr 14, 2011 at 4:18 PM, Leon Me=DFner wrote: > On Thu, Apr 14, 2011 at 03:44:23PM +0200, K. Macy wrote: >> How many 9k jumbo clusters are available? > > Does this output suffice as information ? > > # netstat -m > 8194/1031/9225 mbufs in use (current/cache/total) > 8192/518/8710/25600 mbuf clusters in use (current/cache/total/max) > 8192/512 mbuf+clusters out of packet secondary zone in use > (current/cache) > 0/5/5/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > 18432K/1313K/19746K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > >> On Thu, Apr 14, 2011 at 3:05 PM, Leon Me=DFner >> wrote: >> > Hi, >> > >> > i tried setting the mtu on one of my ixgbe(4) intel NICs to support >> > jumbo frames. This is on a box with RELENG_8 from today. >> > >> > # ifconfig ix0 mtu 9198 >> > >> > I then get the following error: >> > >> > # tail -n 1 /var/log/messages >> > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structure= s >> > >> > I already tried the following patch because of Jack Vogel's advice giv= en >> > in the following thread on -stable in Oct. last year, which still >> > produces the same error message and leaves the box unpingable: >> > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.= html >> > >> > # cat ~/patches/ixgbe.num_queues_to_4.patch >> > --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> > +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 +0= 000 >> > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> > =A0* number of cpus. Each queue is a pair >> > =A0 =A0* of RX and TX rings with a msix vector >> > =A0 =A0 =A0*/ >> > =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> > =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> > =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> > >> > =A0 =A0 =A0 =A0 /* >> > >> > _______________________________________________ >> > freebsd-stable@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o= rg" >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:21:59 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7585E106566C for ; Thu, 14 Apr 2011 14:21:59 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id F1E1C8FC1A for ; Thu, 14 Apr 2011 14:21:58 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate1.intern.punkt.de with ESMTP id p3EELvik076150 for ; Thu, 14 Apr 2011 16:21:57 +0200 (CEST) Received: from [217.29.45.147] ([217.29.45.147]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id p3EELvh9048979 for ; Thu, 14 Apr 2011 16:21:57 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1084) From: "Patrick M. Hausen" In-Reply-To: <1846D8C1-99F9-4258-A428-14E7D5CF58E1@punkt.de> Date: Thu, 14 Apr 2011 16:21:57 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110402094038.GA3521@icarus.home.lan> <3B6BFB01-3AC4-432B-8713-6CED09FFF9A2@punkt.de> <20110403110351.GA30312@icarus.home.lan> <4D9877E7.6050807@FreeBSD.org> <1846D8C1-99F9-4258-A428-14E7D5CF58E1@punkt.de> To: FreeBSD Stable X-Mailer: Apple Mail (2.1084) Cc: Subject: Re: ahci.ko in RELENG_8_2, what about atacontrol cap? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:21:59 -0000 Hi, all, Am 03.04.2011 um 15:44 schrieb Patrick M. Hausen: > Am 03.04.2011 um 15:36 schrieb Alexander Motin: >> I've noticed that some RAID BIOS'es disable write cache on their = disks. ata(4) enabled cache in such cases, but CAM doesn't now. I'll = take care of it for ATA. For now you can manage it via `camcontrol cmd`. >=20 > I understand. So probably my disks' WC is set to off in the > system BIOS setup - wich is changed upon boot by ata, but > not by ahci/cam. I changed the setting in the BIOS setup to "write cache enabled" and presto - write cache with ahci. Thanks for the hints, Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285 From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:38:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E37B106564A; Thu, 14 Apr 2011 14:38:20 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id BF63C8FC08; Thu, 14 Apr 2011 14:38:19 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p3EEcIoA079519; Thu, 14 Apr 2011 16:38:18 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p3EEcIF8079518; Thu, 14 Apr 2011 16:38:18 +0200 (CEST) (envelope-from elon) Date: Thu, 14 Apr 2011 16:38:18 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: "K. Macy" Message-ID: <20110414143818.GF9116@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: "K. Macy" , freebsd-stable@freebsd.org, Leon =?iso-8859-15?Q?Me=DFner?= References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Leon =?iso-8859-15?Q?Me=DFner?= , freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:38:20 -0000 On Thu, Apr 14, 2011 at 04:20:19PM +0200, K. Macy wrote: > That should be plenty, but how large are your receive queues? > How do i show that ? Random sysctl output following ;) # sysctl net.inet.tcp.recvspace net.inet.tcp.recvspace: 65536 # sysctl -a | grep ix.0.queue\* dev.ix.0.queue0.interrupt_rate: 1000000 dev.ix.0.queue0.txd_head: 59 dev.ix.0.queue0.txd_tail: 59 dev.ix.0.queue0.no_desc_avail: 0 dev.ix.0.queue0.tx_packets: 32 dev.ix.0.queue0.rxd_head: 942 dev.ix.0.queue0.rxd_tail: 941 dev.ix.0.queue0.rx_packets: 942 dev.ix.0.queue0.rx_bytes: 60114 dev.ix.0.queue0.lro_queued: 0 dev.ix.0.queue0.lro_flushed: 0 dev.ix.0.queue1.interrupt_rate: 1000000 dev.ix.0.queue1.txd_head: 0 dev.ix.0.queue1.txd_tail: 0 dev.ix.0.queue1.no_desc_avail: 0 dev.ix.0.queue1.tx_packets: 0 dev.ix.0.queue1.rxd_head: 106 dev.ix.0.queue1.rxd_tail: 105 dev.ix.0.queue1.rx_packets: 106 dev.ix.0.queue1.rx_bytes: 12215 dev.ix.0.queue1.lro_queued: 0 dev.ix.0.queue1.lro_flushed: 0 dev.ix.0.queue2.interrupt_rate: 1000000 dev.ix.0.queue2.txd_head: 0 dev.ix.0.queue2.txd_tail: 0 dev.ix.0.queue2.no_desc_avail: 0 dev.ix.0.queue2.tx_packets: 0 dev.ix.0.queue2.rxd_head: 68 dev.ix.0.queue2.rxd_tail: 67 dev.ix.0.queue2.rx_packets: 68 dev.ix.0.queue2.rx_bytes: 17965 dev.ix.0.queue2.lro_queued: 0 dev.ix.0.queue2.lro_flushed: 0 dev.ix.0.queue3.interrupt_rate: 111111 dev.ix.0.queue3.txd_head: 817 dev.ix.0.queue3.txd_tail: 821 dev.ix.0.queue3.no_desc_avail: 0 dev.ix.0.queue3.tx_packets: 1323 dev.ix.0.queue3.rxd_head: 1396 dev.ix.0.queue3.rxd_tail: 1395 dev.ix.0.queue3.rx_packets: 1396 dev.ix.0.queue3.rx_bytes: 145665 dev.ix.0.queue3.lro_queued: 0 dev.ix.0.queue3.lro_flushed: 0 > On Thu, Apr 14, 2011 at 4:18 PM, Leon Meßner > wrote: > > On Thu, Apr 14, 2011 at 03:44:23PM +0200, K. Macy wrote: > >> How many 9k jumbo clusters are available? > > > > Does this output suffice as information ? > > > > # netstat -m > > 8194/1031/9225 mbufs in use (current/cache/total) > > 8192/518/8710/25600 mbuf clusters in use (current/cache/total/max) > > 8192/512 mbuf+clusters out of packet secondary zone in use > > (current/cache) > > 0/5/5/12800 4k (page size) jumbo clusters in use > > (current/cache/total/max) > > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > > 18432K/1313K/19746K bytes allocated to network (current/cache/total) > > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > > 0/0/0 sfbufs in use (current/peak/max) > > 0 requests for sfbufs denied > > 0 requests for sfbufs delayed > > 0 requests for I/O initiated by sendfile > > 0 calls to protocol drain routines > > > >> On Thu, Apr 14, 2011 at 3:05 PM, Leon Meßner > >> wrote: > >> > Hi, > >> > > >> > i tried setting the mtu on one of my ixgbe(4) intel NICs to support > >> > jumbo frames. This is on a box with RELENG_8 from today. > >> > > >> > # ifconfig ix0 mtu 9198 > >> > > >> > I then get the following error: > >> > > >> > # tail -n 1 /var/log/messages > >> > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures > >> > > >> > I already tried the following patch because of Jack Vogel's advice given > >> > in the following thread on -stable in Oct. last year, which still > >> > produces the same error message and leaves the box unpingable: > >> > > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.html > >> > > >> > # cat ~/patches/ixgbe.num_queues_to_4.patch > >> > --- /root/.vimbackup/ixgbe.c~   2011-04-12 22:14:27.000000000 +0000 > >> > +++ sys/dev/ixgbe/ixgbe.c       2011-04-12 22:14:27.000000000 +0000 > >> > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > >> >  * number of cpus. Each queue is a pair > >> >    * of RX and TX rings with a msix vector > >> >      */ > >> >      -static int ixgbe_num_queues = 0; > >> >      +static int ixgbe_num_queues = 4; > >> >       TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > >> > > >> >         /* > >> > > >> > _______________________________________________ > >> > freebsd-stable@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >> > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:45:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A5EC1065673 for ; Thu, 14 Apr 2011 14:45:51 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB96D8FC24 for ; Thu, 14 Apr 2011 14:45:50 +0000 (UTC) Received: by fxm11 with SMTP id 11so1657291fxm.13 for ; Thu, 14 Apr 2011 07:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=rVH3e/y41lQ6U808RrTi/zDDcYXyHJfBnIoioyLFtFU=; b=L8zCTSonYfGLEiCsPH0J6BgIGPetkPXgaUqzR8PvG4peZ+h99cCm3K0CO5bTtJqYSH pPlodbeNj6Y63J3xVQGfCwjAfPTxKHPf/XYoR4xEUB+13Gvvh9qVI8P/d+XPfOxG67kZ MG+3zQRX9zKQHD5ltbH3xahUxNE9S19nDkkOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=kcbw/XVSSLCnAQr3ogbaz+gUdPuKTvzz+mPfWDcrdaEi0c8LUBRpbGRkKYnChswVDf LaTeXWhuUGerEd08wnZYYo2B9tIUpX5gMQHm3cXZWSMwNIdCaD8mqcgK1J1AemZKD/Db GkkT7rR5v3CSNny/RVyvw4Pt8wuxx3qkXdAOE= Received: by 10.223.27.14 with SMTP id g14mr852043fac.129.1302790495537; Thu, 14 Apr 2011 07:14:55 -0700 (PDT) Received: from [91.208.28.69] ([91.208.28.69]) by mx.google.com with ESMTPS id l3sm519517fap.12.2011.04.14.07.14.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2011 07:14:54 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Nikolay Denev In-Reply-To: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 15:14:52 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> To: =?iso-8859-1?Q?Leon_Me=DFner?= X-Mailer: Apple Mail (2.1084) Cc: freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:45:51 -0000 On Apr 14, 2011, at 2:05 PM, Leon Me=DFner wrote: > Hi, >=20 > i tried setting the mtu on one of my ixgbe(4) intel NICs to support > jumbo frames. This is on a box with RELENG_8 from today. >=20 > # ifconfig ix0 mtu 9198 >=20 > I then get the following error:=20 >=20 > # tail -n 1 /var/log/messages > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive = structures >=20 > I already tried the following patch because of Jack Vogel's advice = given > in the following thread on -stable in Oct. last year, which still > produces the same error message and leaves the box unpingable: >=20 > = http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.html= >=20 > # cat ~/patches/ixgbe.num_queues_to_4.patch=20 > --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 > +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > * number of cpus. Each queue is a pair > * of RX and TX rings with a msix vector > */ > -static int ixgbe_num_queues =3D 0; > +static int ixgbe_num_queues =3D 4; > TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >=20 > /* >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" Hi, Have you tried increasing the following sysctls ? : kern.ipc.nmbjumbo16 kern.ipc.nmbjumbo9 kern.ipc.nmbclusters Regards, Nikolay From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 15:46:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF935106564A for ; Thu, 14 Apr 2011 15:46:12 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C10B18FC17 for ; Thu, 14 Apr 2011 15:46:12 +0000 (UTC) Received: by pwj8 with SMTP id 8so883052pwj.13 for ; Thu, 14 Apr 2011 08:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6hBA3Utfa6sirNm4C09455b0JgVyrjPoAZTT5SeklwY=; b=cbt8IipfS9pyjjNLpUEj7I1OK2VNle26XZelpBLGTrf6tixx+1aNjoV0CYkcTcDkCq usAcEe6HWBeeTnU9CXhCogqa+/HE4Eswx4xK318ZJ+wO5ghjnC4fuOsGO+YBPTDVgAWY HeKQd56NMIlrquFHT6Xji3fzBuoTv5Foo7V+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=cvcl0wZ4VlcBDbYY26Zhduk0WQYwvS+9kD+E1PcMe5gZSkRJTnPqduo+DLpzm/4dzk FzP3Ng49Wd6jAPesMvwIdoaus9qXF7PADphDV4TWFz8wDu0PKA1cduil2UpOHWGvBlMH HkDHusnyeR4Xn1x0bez85akkBuuyHL3mt1jC8= MIME-Version: 1.0 Received: by 10.68.22.9 with SMTP id z9mr568200pbe.44.1302795972217; Thu, 14 Apr 2011 08:46:12 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 08:46:12 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 17:46:12 +0200 X-Google-Sender-Auth: esWLpXUV-5KgT60i1Bo54d-zD1Q Message-ID: From: "K. Macy" To: Nikolay Denev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 15:46:13 -0000 Also, how much memory do you have and what architecture? On Thu, Apr 14, 2011 at 4:14 PM, Nikolay Denev wrote: > On Apr 14, 2011, at 2:05 PM, Leon Me=DFner wrote: > >> Hi, >> >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support >> jumbo frames. This is on a box with RELENG_8 from today. >> >> # ifconfig ix0 mtu 9198 >> >> I then get the following error: >> >> # tail -n 1 /var/log/messages >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures >> >> I already tried the following patch because of Jack Vogel's advice given >> in the following thread on -stable in Oct. last year, which still >> produces the same error message and leaves the box unpingable: >> >> http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.ht= ml >> >> # cat ~/patches/ixgbe.num_queues_to_4.patch >> --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 +000= 0 >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> =A0* number of cpus. Each queue is a pair >> =A0 =A0* of RX and TX rings with a msix vector >> =A0 =A0 =A0*/ >> =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> >> =A0 =A0 =A0 =A0/* >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org= " > > Hi, > > Have you tried increasing the following sysctls ? : > > =A0 =A0kern.ipc.nmbjumbo16 > =A0 =A0kern.ipc.nmbjumbo9 > =A0 =A0kern.ipc.nmbclusters > > Regards, > Nikolay > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 16:44:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7710C106566C for ; Thu, 14 Apr 2011 16:44:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2ECC78FC12 for ; Thu, 14 Apr 2011 16:44:50 +0000 (UTC) Received: by gxk28 with SMTP id 28so981111gxk.13 for ; Thu, 14 Apr 2011 09:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6/HiCken9zNYAwPJK1hifRpEVH8PaJWdN+5VSqvzxbY=; b=lrXaKEKToXQfFQxPulznDcxv5A5Fe/BLcb8vl++Ur+GGXpIK1fDPixC5BhJ6Qsg98Y MKV++1zJvXXO4RyHYhjvDwhNW7QKAis1W/iWxClWQuMO5vzkZO0Zog3P6IhHwdFM40+T A0CLFmWd0DLyTSSJnDGmMt00MO84sdohE28vQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kvGbfDhdetAgbBp2PmBGir+ydoEnQFXf/+eNJeuYLaW01qE0qy26HcSQUqrDREZNm/ yJZJw0aOKAp8HZHH4LxbLxdN8QetEmbzICFNhqdmPqCCXH482sR/ebz5KhEggcvFbYzj hyJtZqqsaPqP0kdbwdw3tno/yZRtkbJW9UROk= MIME-Version: 1.0 Received: by 10.150.213.7 with SMTP id l7mr1693397ybg.392.1302799489016; Thu, 14 Apr 2011 09:44:49 -0700 (PDT) Received: by 10.151.112.18 with HTTP; Thu, 14 Apr 2011 09:44:48 -0700 (PDT) In-Reply-To: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 09:44:48 -0700 Message-ID: From: Jack Vogel To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 16:44:51 -0000 If you get this message its only for one reason, you don't have enough mbuf= s to fill your rings. You must do one of two things, either reduce the number of queues, or increase the relevant mbuf pool. Increase the 9K mbuf cluster pool. Jack On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner wrote: > Hi, > > i tried setting the mtu on one of my ixgbe(4) intel NICs to support > jumbo frames. This is on a box with RELENG_8 from today. > > # ifconfig ix0 mtu 9198 > > I then get the following error: > > # tail -n 1 /var/log/messages > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures > > I already tried the following patch because of Jack Vogel's advice given > in the following thread on -stable in Oct. last year, which still > produces the same error message and leaves the box unpingable: > > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.htm= l > > # cat ~/patches/ixgbe.num_queues_to_4.patch > --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 > +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > * number of cpus. Each queue is a pair > * of RX and TX rings with a msix vector > */ > -static int ixgbe_num_queues =3D 0; > +static int ixgbe_num_queues =3D 4; > TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > > /* > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 18:55:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6F87106564A for ; Thu, 14 Apr 2011 18:55:18 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 76F6D8FC12 for ; Thu, 14 Apr 2011 18:55:18 +0000 (UTC) Received: by pwj8 with SMTP id 8so971691pwj.13 for ; Thu, 14 Apr 2011 11:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lHUzumn1CH+b0K7vjDUJGghuXCGPr+Ncu/GqMNDBcFQ=; b=j6FnAx0aM5YLqSPIMxAJrpLBoYZrJElXI5grGjOysCOD5CvYZAUeNA69C7EcWWwG8l 5bHhBpNfsb6o58zKQzbPHM+vQy2nOcGDLs7qi7YyzCh8/GuSNwpUhUx7RTISYw4uxSLT CgLQ3OhgE6DWsdjIn4z0p+X27JyXipAmLUNMI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=aWu+513CzeNkS0TrBIJmTOg/34zTnQbg26ZjP6Eo/0KPdWOoJfILVXBvdhx6hBZ2u/ n7dEkB3FeC5dj9ZBdIxarbi2GXDfvTsipd8x38rddIskV3SjTsTAKjdGhW7M+BRG+n0e ENHMIgftL3txShYpuQJ8tHibxOIaIscRL11lQ= MIME-Version: 1.0 Received: by 10.68.22.9 with SMTP id z9mr714149pbe.44.1302807317990; Thu, 14 Apr 2011 11:55:17 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 11:55:17 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 20:55:17 +0200 X-Google-Sender-Auth: ye2n3O3ddvP35RCgqkDUPWJLO_A Message-ID: From: "K. Macy" To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 18:55:18 -0000 That isn't guaranteed to work if he is KVA limited. On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: > If you get this message its only for one reason, you don't have enough mb= ufs > to > fill your rings. You must do one of two things, either reduce the number = of > queues, > or increase the relevant mbuf pool. > > Increase the 9K mbuf cluster pool. > > Jack > > > On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner > wrote: > >> Hi, >> >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support >> jumbo frames. This is on a box with RELENG_8 from today. >> >> # ifconfig ix0 mtu 9198 >> >> I then get the following error: >> >> # tail -n 1 /var/log/messages >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures >> >> I already tried the following patch because of Jack Vogel's advice given >> in the following thread on -stable in Oct. last year, which still >> produces the same error message and leaves the box unpingable: >> >> http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.ht= ml >> >> # cat ~/patches/ixgbe.num_queues_to_4.patch >> --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 +000= 0 >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> =A0* number of cpus. Each queue is a pair >> =A0 =A0* of RX and TX rings with a msix vector >> =A0 =A0 =A0*/ >> =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> >> =A0 =A0 =A0 =A0 /* >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org= " >> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 19:44:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3192106566B; Thu, 14 Apr 2011 19:44:50 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 76D448FC08; Thu, 14 Apr 2011 19:44:50 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p3EJimkG008793; Thu, 14 Apr 2011 21:44:48 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p3EJimSE008792; Thu, 14 Apr 2011 21:44:48 +0200 (CEST) (envelope-from elon) Date: Thu, 14 Apr 2011 21:44:48 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: "K. Macy" Message-ID: <20110414194448.GG9116@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: "K. Macy" , Jack Vogel , Leon =?iso-8859-15?Q?Me=DFner?= , freebsd-stable@freebsd.org References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Leon =?iso-8859-15?Q?Me=DFner?= , freebsd-stable@freebsd.org, Jack Vogel Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 19:44:51 -0000 On Thu, Apr 14, 2011 at 08:55:17PM +0200, K. Macy wrote: > That isn't guaranteed to work if he is KVA limited. > > On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: > > If you get this message its only for one reason, you don't have enough mbufs > > to > > fill your rings. You must do one of two things, either reduce the number of > > queues, > > or increase the relevant mbuf pool. > > > > Increase the 9K mbuf cluster pool. I did set it to twice the default, and now it works and netstat -m shows: 8192/391/8583/12800 9k jumbo clusters in use (current/cache/total/max) Whats a reasonable amount to set kern.ipc.nmbjumbo9 to and is there any form of auto-tuning (i have absolutely no load on this machine and mbufs are higher than default pool size). Thanks to all, Leon > > On Thu, Apr 14, 2011 at 6:05 AM, Leon Meßner > > wrote: > > > >> Hi, > >> > >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support > >> jumbo frames. This is on a box with RELENG_8 from today. > >> > >> # ifconfig ix0 mtu 9198 > >> > >> I then get the following error: > >> > >> # tail -n 1 /var/log/messages > >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structures > >> > >> I already tried the following patch because of Jack Vogel's advice given > >> in the following thread on -stable in Oct. last year, which still > >> produces the same error message and leaves the box unpingable: > >> > >> http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.html > >> > >> # cat ~/patches/ixgbe.num_queues_to_4.patch > >> --- /root/.vimbackup/ixgbe.c~   2011-04-12 22:14:27.000000000 +0000 > >> +++ sys/dev/ixgbe/ixgbe.c       2011-04-12 22:14:27.000000000 +0000 > >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > >>  * number of cpus. Each queue is a pair > >>    * of RX and TX rings with a msix vector > >>      */ > >>      -static int ixgbe_num_queues = 0; > >>      +static int ixgbe_num_queues = 4; > >>       TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > >> > >>         /* > >> > >> _______________________________________________ > >> freebsd-stable@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 19:51:40 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A52981065675 for ; Thu, 14 Apr 2011 19:51:40 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 72DFD8FC13 for ; Thu, 14 Apr 2011 19:51:40 +0000 (UTC) Received: by pwj8 with SMTP id 8so996867pwj.13 for ; Thu, 14 Apr 2011 12:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=bXjllWeWGXqeDxqBwTwn25LlOCcHBhLTc4qE61RSgv0=; b=cuJmkek9XgmUoF97/34PFppt1JXqp6LCMdSskZvfAM7hBJnxNB9wkltRTPBCe8n8eB wabkkwKoIORTkqCkKOFCOfc5lNPcYbamHMy7DL7AeyYmoLP72v3H3kNZuyVO5h+z5/N5 HhZQXP3WB9RlYVYUT/yed0/LdIhghmWYStu1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=rM/TjsIukyEU3AXjJ2EzG3Lw5l4K2f93wvrHHHLTEy5phLP4nkaf394JIltuXe1Ly8 iF85XzrVp+9W/tfN1LdCN9yKv54fwe3qjrSJ7KdmoQxD/HAlcZvud0oiCl5xxUZdgn/Y 2tWAxqmHpV1tisMo61CuTXkAKnrgIFwsG6wh0= MIME-Version: 1.0 Received: by 10.68.44.202 with SMTP id g10mr740964pbm.379.1302810699967; Thu, 14 Apr 2011 12:51:39 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 12:51:39 -0700 (PDT) In-Reply-To: <20110414194448.GG9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <20110414194448.GG9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 21:51:39 +0200 X-Google-Sender-Auth: rXo4zFOWSkh9H0su9zUAgS3LYPA Message-ID: From: "K. Macy" To: Jack Vogel , =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 19:51:40 -0000 On Thu, Apr 14, 2011 at 9:44 PM, Leon Me=DFner wrote: > On Thu, Apr 14, 2011 at 08:55:17PM +0200, K. Macy wrote: >> That isn't guaranteed to work if he is KVA limited. >> >> On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: >> > If you get this message its only for one reason, you don't have enough= mbufs >> > to >> > fill your rings. You must do one of two things, either reduce the numb= er of >> > queues, >> > or increase the relevant mbuf pool. >> > >> > Increase the 9K mbuf cluster pool. > > I did set it to twice the default, and now it works and netstat -m > shows: > > 8192/391/8583/12800 9k jumbo clusters in use (current/cache/total/max) > > Whats a reasonable amount to set kern.ipc.nmbjumbo9 to and is there > any > form of auto-tuning (i have absolutely no load on this machine and > mbufs > are higher than default pool size). The auto-tuning for jumbo clusters works poorly at best. It isn't load consuming them, it is the preallocation to large receive queues. > > Thanks to all, > Leon > >> > On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner >> > wrote: >> > >> >> Hi, >> >> >> >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support >> >> jumbo frames. This is on a box with RELENG_8 from today. >> >> >> >> # ifconfig ix0 mtu 9198 >> >> >> >> I then get the following error: >> >> >> >> # tail -n 1 /var/log/messages >> >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structur= es >> >> >> >> I already tried the following patch because of Jack Vogel's advice gi= ven >> >> in the following thread on -stable in Oct. last year, which still >> >> produces the same error message and leaves the box unpingable: >> >> >> >> http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541= .html >> >> >> >> # cat ~/patches/ixgbe.num_queues_to_4.patch >> >> --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> >> +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 += 0000 >> >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> >> =A0* number of cpus. Each queue is a pair >> >> =A0 =A0* of RX and TX rings with a msix vector >> >> =A0 =A0 =A0*/ >> >> =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> >> =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> >> =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> >> >> >> =A0 =A0 =A0 =A0 /* >> >> >> >> _______________________________________________ >> >> freebsd-stable@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.= org" >> >> >> > _______________________________________________ >> > freebsd-stable@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o= rg" >> > >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org= " > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 20:18:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B205106566B for ; Thu, 14 Apr 2011 20:18:51 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0388FC08 for ; Thu, 14 Apr 2011 20:18:50 +0000 (UTC) Received: by vxc34 with SMTP id 34so2079683vxc.13 for ; Thu, 14 Apr 2011 13:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=HKMREARS4mhHLnhRIOmjHqoODTPWpS5t8nE87NxB1sw=; b=sKdChdB5Newoe98C6B976oWUnUtwIEYObRRhLKY63JdAsX3cFlO+5fXOv5Hg4l811k 9KTeLc7gzahyffQsL7UfjuyZy7XGN+3KhdIJQe9z3zy2p9JTDP61gB+XNg5tz8/pioys 0FCPCn1DvSX4ZLWDV3jgtnmtFAvL1yYyj5Rl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IhDZiN509iMrPuExFo82H0cIbvIy/6oSZM7X/NganN6/ECZupRHfyNo0oTbuakkDsJ hY2WpF0d+BMi3WTE8kOBkx1TYlFOE2G3+LuML5ZqAM20hy/NGOS4VJMuMaLR84yLEkGQ 89fId5d3YbEZRdAP9MIE3JhvwIMQSos7zz2AQ= MIME-Version: 1.0 Received: by 10.52.176.34 with SMTP id cf2mr1747041vdc.81.1302812330121; Thu, 14 Apr 2011 13:18:50 -0700 (PDT) Received: by 10.52.161.168 with HTTP; Thu, 14 Apr 2011 13:18:50 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 13:18:50 -0700 Message-ID: From: Jack Vogel To: "K. Macy" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 20:18:51 -0000 So, what do you have in mind as the real problem then? Jack On Thu, Apr 14, 2011 at 11:55 AM, K. Macy wrote: > That isn't guaranteed to work if he is KVA limited. > > On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: > > If you get this message its only for one reason, you don't have enough > mbufs > > to > > fill your rings. You must do one of two things, either reduce the numbe= r > of > > queues, > > or increase the relevant mbuf pool. > > > > Increase the 9K mbuf cluster pool. > > > > Jack > > > > > > On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner > > wrote: > > > >> Hi, > >> > >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support > >> jumbo frames. This is on a box with RELENG_8 from today. > >> > >> # ifconfig ix0 mtu 9198 > >> > >> I then get the following error: > >> > >> # tail -n 1 /var/log/messages > >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structure= s > >> > >> I already tried the following patch because of Jack Vogel's advice giv= en > >> in the following thread on -stable in Oct. last year, which still > >> produces the same error message and leaves the box unpingable: > >> > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.htm= l > >> > >> # cat ~/patches/ixgbe.num_queues_to_4.patch > >> --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 > >> +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 > >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > >> * number of cpus. Each queue is a pair > >> * of RX and TX rings with a msix vector > >> */ > >> -static int ixgbe_num_queues =3D 0; > >> +static int ixgbe_num_queues =3D 4; > >> TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > >> > >> /* > >> > >> _______________________________________________ > >> freebsd-stable@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> To unsubscribe, send any mail to " > freebsd-stable-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g > " > > > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 20:25:39 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFE891065670 for ; Thu, 14 Apr 2011 20:25:38 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id BD8208FC0A for ; Thu, 14 Apr 2011 20:25:38 +0000 (UTC) Received: by pxi6 with SMTP id 6so1724896pxi.17 for ; Thu, 14 Apr 2011 13:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2k0jy4LDI1pPGYaapqTzpkPynBeyZcsfsqSXRDVzIUs=; b=J591bGjCGvu3uT9TWkahNLVMJak9E7w0C8CEqqWlI8p5XswNJIv0f1BmmB2gatk44c fVC1seDwBcbDt717ib2Wl2kcet5/dYUyr477Ka5F6Tyl4ZDUXRCcsEYYTfNPRgaU7yOB oiHN3J9RQwvEITPpnMLs0NGIzKXqqlZAgqbNY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Y4QQXGQCe8qT3+abkjhBnYKA3RI9Ysuz0edqjkHpNIPkzmC5fcU9e0ZSTy1P/Eq/Tq WlqepxBDkImx//L5uvFgs37c0qT0Mb4sQ7n5iI4Z4nvmPTaZ1eF9Yw6zdk42hWeb4oYc YV2etuGINGXzwf7JGmhXeu/OawmExC9MUqqd0= MIME-Version: 1.0 Received: by 10.68.50.66 with SMTP id a2mr779870pbo.490.1302812738335; Thu, 14 Apr 2011 13:25:38 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 13:25:38 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 22:25:38 +0200 X-Google-Sender-Auth: McRHz3SEPn0G8D2MBHnNB9yB2Nc Message-ID: From: "K. Macy" To: Jack Vogel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 20:25:39 -0000 On Thu, Apr 14, 2011 at 10:18 PM, Jack Vogel wrote: > So, what do you have in mind as the real problem then? The problem was the one that you provided the solution to. I was simply observing that auto-tuning of mbuf jumbo cluster limits is in need of improvement. Kip > > Jack > > > On Thu, Apr 14, 2011 at 11:55 AM, K. Macy wrote: > >> That isn't guaranteed to work if he is KVA limited. >> >> On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: >> > If you get this message its only for one reason, you don't have enough >> mbufs >> > to >> > fill your rings. You must do one of two things, either reduce the numb= er >> of >> > queues, >> > or increase the relevant mbuf pool. >> > >> > Increase the 9K mbuf cluster pool. >> > >> > Jack >> > >> > >> > On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner >> > wrote: >> > >> >> Hi, >> >> >> >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support >> >> jumbo frames. This is on a box with RELENG_8 from today. >> >> >> >> # ifconfig ix0 mtu 9198 >> >> >> >> I then get the following error: >> >> >> >> # tail -n 1 /var/log/messages >> >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structur= es >> >> >> >> I already tried the following patch because of Jack Vogel's advice gi= ven >> >> in the following thread on -stable in Oct. last year, which still >> >> produces the same error message and leaves the box unpingable: >> >> >> >> >> http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.ht= ml >> >> >> >> # cat ~/patches/ixgbe.num_queues_to_4.patch >> >> --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> >> +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 += 0000 >> >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> >> =A0* number of cpus. Each queue is a pair >> >> =A0 =A0* of RX and TX rings with a msix vector >> >> =A0 =A0 =A0*/ >> >> =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> >> =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> >> =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> >> >> >> =A0 =A0 =A0 =A0 /* >> >> >> >> _______________________________________________ >> >> freebsd-stable@freebsd.org mailing list >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> >> To unsubscribe, send any mail to " >> freebsd-stable-unsubscribe@freebsd.org" >> >> >> > _______________________________________________ >> > freebsd-stable@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o= rg >> " >> > >> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 20:28:17 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3F2C106566C for ; Thu, 14 Apr 2011 20:28:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id A448B8FC0A for ; Thu, 14 Apr 2011 20:28:16 +0000 (UTC) Received: by vxc34 with SMTP id 34so2089258vxc.13 for ; Thu, 14 Apr 2011 13:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=fjCLbW/9j74R1NRdgsH0ayyhUpHqhiyAZJF5d3NH+X4=; b=hG7uxue+KAjpYkpau0BAol4HhdKvob2jhs0BOFf7oAmvzLN28V9nJqAL2yOJ1LWOb5 AntD12LxUGSvHyBTV1jyIm2A6P/0Z0eJugSXH9O4y63W989VbxysV5MssiEMHrFnzJVV JD3C8tmfrTicczGvKJQ8Vuq2ZHChrasR8x4MA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jTRwRwXQWhAuAV/hbhon/zoO3ejaBniR5U0q8B94woVYUwxIAuGiJc9Llk9VWqPTuF y8P/fNbxkGJvbtINmlyHsnjQa2Z6urNZmUuCwYLUNcbKp9xWFZOWUUfIuiV+Xiypavgk fDTrBHmhIFJ87BwgTUWt7PeCuMLsxtHvHuhw4= MIME-Version: 1.0 Received: by 10.52.89.72 with SMTP id bm8mr1234157vdb.281.1302812895954; Thu, 14 Apr 2011 13:28:15 -0700 (PDT) Received: by 10.52.161.168 with HTTP; Thu, 14 Apr 2011 13:28:15 -0700 (PDT) In-Reply-To: <20110414194448.GG9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <20110414194448.GG9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 13:28:15 -0700 Message-ID: From: Jack Vogel To: "K. Macy" , Jack Vogel , =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 20:28:17 -0000 If you are using the latest code, then the RX ring size is set to be 2K descriptors, so you will use that many 9k jumbos per queue to initialize things. Having a spare amount free to use as you clean/refresh is needed also. I upped the ring size for performance reasons on 10G, its possible to try dropping it to 1K. But, for 10G, I don't think its unreasonable to have enough memory around t= o handle this. Cheers, Jack On Thu, Apr 14, 2011 at 12:44 PM, Leon Me=DFner wrote: > On Thu, Apr 14, 2011 at 08:55:17PM +0200, K. Macy wrote: > > That isn't guaranteed to work if he is KVA limited. > > > > On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel wrote: > > > If you get this message its only for one reason, you don't have enoug= h > mbufs > > > to > > > fill your rings. You must do one of two things, either reduce the > number of > > > queues, > > > or increase the relevant mbuf pool. > > > > > > Increase the 9K mbuf cluster pool. > > I did set it to twice the default, and now it works and netstat -m > shows: > > 8192/391/8583/12800 9k jumbo clusters in use (current/cache/total/max) > > Whats a reasonable amount to set kern.ipc.nmbjumbo9 to and is there > any > form of auto-tuning (i have absolutely no load on this machine and > mbufs > are higher than default pool size). > > Thanks to all, > Leon > > > > On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner > > > wrote: > > > > > >> Hi, > > >> > > >> i tried setting the mtu on one of my ixgbe(4) intel NICs to support > > >> jumbo frames. This is on a box with RELENG_8 from today. > > >> > > >> # ifconfig ix0 mtu 9198 > > >> > > >> I then get the following error: > > >> > > >> # tail -n 1 /var/log/messages > > >> Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive > structures > > >> > > >> I already tried the following patch because of Jack Vogel's advice > given > > >> in the following thread on -stable in Oct. last year, which still > > >> produces the same error message and leaves the box unpingable: > > >> > > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.htm= l > > >> > > >> # cat ~/patches/ixgbe.num_queues_to_4.patch > > >> --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 > > >> +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 > > >> @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe > > >> * number of cpus. Each queue is a pair > > >> * of RX and TX rings with a msix vector > > >> */ > > >> -static int ixgbe_num_queues =3D 0; > > >> +static int ixgbe_num_queues =3D 4; > > >> TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); > > >> > > >> /* > > >> > > >> _______________________________________________ > > >> freebsd-stable@freebsd.org mailing list > > >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > >> To unsubscribe, send any mail to " > freebsd-stable-unsubscribe@freebsd.org" > > >> > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to " > freebsd-stable-unsubscribe@freebsd.org" > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g > " > From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 06:41:09 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8870106564A for ; Fri, 15 Apr 2011 06:41:09 +0000 (UTC) (envelope-from s.seira@cdmon.com) Received: from correo.cdmon.com (correo.cdmon.com [212.36.82.9]) by mx1.freebsd.org (Postfix) with ESMTP id 61C718FC19 for ; Fri, 15 Apr 2011 06:41:09 +0000 (UTC) Received: from genocida (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id E64C7130F3C for ; Fri, 15 Apr 2011 08:41:04 +0200 (CEST) Received: from antispam (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id 84AD0130E8B for ; Fri, 15 Apr 2011 08:41:04 +0200 (CEST) Received: from [192.168.0.30] (155.Red-88-2-251.staticIP.rima-tde.net [88.2.251.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by correo.cdmon.com (Postfix) with ESMTP id 1FCF4130E84; Fri, 15 Apr 2011 08:41:04 +0200 (CEST) Message-ID: <4DA7E885.3060705@cdmon.com> Date: Fri, 15 Apr 2011 08:41:09 +0200 From: Sergi Seira User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100515 Lightning/1.0b1 Icedove/3.0.4 MIME-Version: 1.0 To: Steven Hartland References: <4DA45264.2090501@cdmon.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: background fsck high load on 8.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 06:41:10 -0000 Hello, Yes, we are considering ZFS, or waiting for journaled soft updates on 9.X. This issue only happens on unexpected reboots, which aren't that frequent. Mr. McKusick response to my question on freebsd-fs mailing-list was : "... This is the first report that I have heard of the higher level of slowdown by background fsck on 8.X systems. My guess is that it comes about from work done to make the I/O subsystem faster which in turn allows fsck to have a higher impact. For a period we were working on a kernel feature (associated with nice) that would allow the system to throttle I/O activity for a given process. It turns out to be a much harder problem than it at first appears. We set this aside when we got journaled soft updates working as they eliminate the need for background fsck. While journaled soft updates are too big of a change to be merged back into the 8.X tree, we do expect them to be used by default on 9.X systems. ..." Thanks for your help, regards, Sergi On 12/04/11 17:51, Steven Hartland wrote: > The cpu requirements are usually quite low for fsck, what your > most likely seeing is disk contention due to the amount of IO. > > Personally I would recommend to consider moving to 8.2 + ZFS as > our filing system as it removes fsck from the equation, as well > as giving lots of other benefits. > > Regards > Steve > ----- Original Message ----- From: "Sergi Seira" > To: > Sent: Tuesday, April 12, 2011 2:23 PM > Subject: background fsck high load on 8.1 > > >> Hello, >> >> we've experienced that background fsck on 8.1 degrades server >> performance on a higher degree than in previous fbsd versions (6.3, >> 7.3; amd64). >> >> We've noticed it after upgrading - same hardware - to a 8.1-RELEASE. >> Now, performance of other services (i.e. apache, mysql) during a >> background fsck falls miserably. >> >> Is there any way to calm fsck down?, nice(1)?, some sysctl? >> >> We have also gmirror, but we prevent to rebuild it if there is a fsck >> running in background. > > > ================================================ > This e.mail is private and confidential between Multiplay (UK) Ltd. and > the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, printing > or otherwise disseminating it or any information contained in it. > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 > or return the E.mail to postmaster@multiplay.co.uk. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 09:23:57 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 130C3106566C for ; Fri, 15 Apr 2011 09:23:57 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7948FC18 for ; Fri, 15 Apr 2011 09:23:56 +0000 (UTC) Received: by bwz12 with SMTP id 12so2751685bwz.13 for ; Fri, 15 Apr 2011 02:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=nfo/R79W3w9tWdWoZwI40hjBfsJErBlS1uipXQGjEOs=; b=neIEu3xS1HU8kaJw+qMWALiVx5iS9EFHVzqpPn5kxUjo+j3w2ogiKLZiWUpFuk/ZPl J93EPeYuF8VCXlf3AjwH6NiOAE+qb4KpvC6Xov/EQujDn8yB3GPaHYLliA5ZOaLj8yrp q8OKc/GuKjfj1AhDehQc8IMGOJ6A/BofgcGBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=kv6YvAsLwclyKwkC6xGxj2T9k2II/eQXW/SNga2qHXMwzPbEfVTPp9nGUqr1NfoI+D Cj8u0Vww1eW5fQM8q4+kC7gjfLWZDbtJVR2xD9V4LKNtjWHTjUbtSWU7WTAmD1+tTRTg Dc1iQFbBDcnfPGfxVRC0qghzTVOY4lsw8ir4Y= Received: by 10.204.143.4 with SMTP id s4mr1367301bku.98.1302857851063; Fri, 15 Apr 2011 01:57:31 -0700 (PDT) Received: from localhost (94-23-152-124.ovh.net [94.23.152.124]) by mx.google.com with ESMTPS id v21sm1413263bkt.23.2011.04.15.01.57.27 (version=SSLv3 cipher=OTHER); Fri, 15 Apr 2011 01:57:29 -0700 (PDT) From: Pan Tsu To: "J. Hellenthal" In-Reply-To: <201104140922.p3E9M246053052__4754.10261792621$1302775251$gmane$org@DataIX.net> (J. Hellenthal's message of "Thu, 14 Apr 2011 05:22:02 -0400 (EDT)") References: <201104140922.p3E9M246053052__4754.10261792621$1302775251$gmane$org@DataIX.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) Date: Fri, 15 Apr 2011 12:57:15 +0400 Message-ID: <86fwpjc2ok.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Cc: stable@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: conf/156396: Make 220.backup-pkgdb cd(1) and backup only the package database. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 09:23:57 -0000 "J. Hellenthal" writes: [...] > @@ -33,7 +33,8 @@ > > new_bak_file=`mktemp ${bak_file}-XXXXX` > > - if tar -cjf "${new_bak_file}" "$pkg_dbdir"; then > + cd $pkg_dbdir/.. > + if tar -cjf "${new_bak_file}" "$(basename $pkg_dbdir)"; then Why not use `-s' (substitution) option of bsdtar(1)? if tar -cjf "${new_bak_file}" -s "|$pkg_dbdir||" "$pkg_dbdir"; then $(basename $pkg_dbdir) is technically wrong as PKG_DBDIR points not to /var/db but to /var/db/pkg by default and is not guaranteed to contain `pkg' at the tail, e.g. PKG_DBDIR is /foo, so /var/backups/pkgdb.bak.tbz-XXX has foo/ prefix PKG_DBDIR is /blah/bar, so /var/backups/pkgdb.bak.tbz-YYY has bar/ prefix It only adds one more hoop to jump through when restoring from backup, e.g. tar xf /var/backups/pkgdb.bak.tbz-XXX --strip-components 1 -C $PKG_DBDIR ... From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 09:30:52 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 240B8106564A; Fri, 15 Apr 2011 09:30:52 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BDF4A8FC21; Fri, 15 Apr 2011 09:30:51 +0000 (UTC) Received: by iwn33 with SMTP id 33so2684681iwn.13 for ; Fri, 15 Apr 2011 02:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=1dexQGbI/2uH7zZvlYyUhulISVp/omx5F2AgwlnDCNQ=; b=WdfYFmsBmNNvScj1R/exBn0Bs6qgd9Hy0l1WYSwToC4w0yNLMaFcFnEEzamFZmELba U3zFo8oPx0GancatM6FkGXlGfhSd7rrD6vYV5Kh4Is3r5gGFZ3oomyW1cYpx+l3HxD50 VGmb0nvkehSBkTDRqVNg2MDR86SiVx34sepEI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=BFbgmVK4BsC+OGkJydh8Aktbpf+qsY0ByxFIvJdMA5Ru6kkrq03i478KdT9FZcA3Kf vL3hp+TifbxZGxHhR1me/rW89wByQcUNsl6tOhJUT2TFTerkLQD1/CLSL9b6gkdL4Kga nWuELCJB/e+vWcer8itUKBwHT/EgN0rsaGd8g= Received: by 10.42.161.7 with SMTP id r7mr2555970icx.228.1302859851001; Fri, 15 Apr 2011 02:30:51 -0700 (PDT) Received: from DataIX.net (adsl-99-19-43-8.dsl.klmzmi.sbcglobal.net [99.19.43.8]) by mx.google.com with ESMTPS id gx2sm1656086ibb.9.2011.04.15.02.30.48 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Apr 2011 02:30:49 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p3F9Uj6c092018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Apr 2011 05:30:45 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p3F9UjMo092017; Fri, 15 Apr 2011 05:30:45 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Fri, 15 Apr 2011 05:30:45 -0400 From: "J. Hellenthal" To: Pan Tsu Message-ID: <20110415093044.GA91283@DataIX.net> References: <201104140922.p3E9M246053052__4754.10261792621$1302775251$gmane$org@DataIX.net> <86fwpjc2ok.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <86fwpjc2ok.fsf@gmail.com> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: stable@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: conf/156396: Make 220.backup-pkgdb cd(1) and backup only the package database. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 09:30:52 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2011 at 12:57:15PM +0400, Pan Tsu wrote: >"J. Hellenthal" writes: > >[...] >> @@ -33,7 +33,8 @@ >> =20 >> new_bak_file=3D`mktemp ${bak_file}-XXXXX` >> =20 >> - if tar -cjf "${new_bak_file}" "$pkg_dbdir"; then >> + cd $pkg_dbdir/.. >> + if tar -cjf "${new_bak_file}" "$(basename $pkg_dbdir)"; then > >Why not use `-s' (substitution) option of bsdtar(1)? > > if tar -cjf "${new_bak_file}" -s "|$pkg_dbdir||" "$pkg_dbdir"; then > >$(basename $pkg_dbdir) is technically wrong as PKG_DBDIR points not to >/var/db but to /var/db/pkg by default and is not guaranteed to contain >`pkg' at the tail, e.g. I think you misunderstood how this works. You should test it... With a pkg_dbdir pointing to /var/db/pkg basename strips off "/var/db/". The cd(1) you notice before that line makes sure your in the directory just before the actual pkg_dbdir so therefore calling tar on $(basename $pkg_dbdir) tar's up only the actual name of the 'pkg' directory and not the path before it. I suppose this could also be achieved simply by: tar -C $pkg_dbdir/.. -cjf "${new_bak_file}" "$(basename $pkg_dbdir)" which is equivalent to: tar -C /var/db/pkg/.. -cvjf /tmp/foo.tbz `basename /var/db/pkg` '-v' added for show. But I don't think the author is willing to take any improvements and has the wrong impression of why the '/..' is where it is and how that suffices for the same motive behind archiving a direct path. PS: The PR says this was committed... It was not AFAIK. --=20 Regards, J. Hellenthal --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJNqBBEAAoJEJBXh4mJ2FR+4LAH+wTJLhwQRvyMRiXSDia+r6OM FiKiehPPvADtp33MpoC9r7iJrw7oUkt19RFeDHkRePe32b0Mav3tsAHXDEzHw/JI TJMoDiNZX9IIcx3zgKhd8ITEzXvdZ6rKAKusjKTDR3o/z8eFFc/TRxUo8KfT2OTy MWhZh4PTGK4H7cS0/hv2tj/o+/88mTmsag/viV4N4iQXJuPkfF5hSCIWH2p8+6zK qe7+UNFX2zilCNnAo4LiijNEsJWy3mFY9ZcRB81RJliVMplpxwL3Tqd8TczK4FtB YzQxxw08J0+uZeRsbYCPWUBzmyDwe2N7NSqdZrJ4NfuATulwIrZe+Uvm0Q5pO8o= =szKz -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 15:28:08 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 711C61065673; Fri, 15 Apr 2011 15:28:08 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1E1598FC18; Fri, 15 Apr 2011 15:28:07 +0000 (UTC) Received: by gwb15 with SMTP id 15so1393769gwb.13 for ; Fri, 15 Apr 2011 08:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=C92CY4cS/9jLfoyko+5GUz4zltuMes9Gaudai+8hby8=; b=Kck7W5Qp5/JPRevmUD471JDO8HAOAFTQQg+fOlxy6ZIRWCGuwaYyLCXosBSj/y8VAe kG0JEo2AfwS0kkgANbe++R7CD8uEUZqlOziYjXWK4UmYLnTYnNCmgeHiMPIJRDlgw85M ybCd9MczIc+M7b8aWNM2US+TIzFtHfAzaRNqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=c+mAh99GNMQqMjHZnoXj7y3AQoJ1Dl/xNNY77JhChJUXf1xVQdLJAo5UTF41FxoFf6 ylOO/RIZS8p6NmmEjac6xZyDTfGjf85kVnbskYktPWtp8PBUQcpzbNeUMPpxpPH0FOip Rrdpramg1js0bZgAwtRGXFZOzGrgLitfILaJY= MIME-Version: 1.0 Received: by 10.42.220.70 with SMTP id hx6mr2855704icb.322.1302881287184; Fri, 15 Apr 2011 08:28:07 -0700 (PDT) Received: by 10.231.11.196 with HTTP; Fri, 15 Apr 2011 08:28:07 -0700 (PDT) Date: Fri, 15 Apr 2011 18:28:07 +0300 Message-ID: From: George Kontostanos To: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: ZFS V28 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 15:28:08 -0000 I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. Regards, -- George Kontostanos aisecure.net From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 16:42:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C53411065679 for ; Fri, 15 Apr 2011 16:42:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9C60E8FC17 for ; Fri, 15 Apr 2011 16:42:43 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 7B2E146BA9; Fri, 15 Apr 2011 12:42:43 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0B2058A02C; Fri, 15 Apr 2011 12:42:43 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 15 Apr 2011 12:39:31 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> In-Reply-To: <4DA4A96F.9000507@frasunek.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104151239.31895.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 12:42:43 -0400 (EDT) Cc: Przemyslaw Frasunek Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 16:42:43 -0000 On Tuesday, April 12, 2011 3:35:11 pm Przemyslaw Frasunek wrote: > Hello, > > I'm struggling with enabling serial console on Intel SR1630GP server > platform and FreeBSD 7.4. > > In default configuration, my serial ports are detected correctly: > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > > Both serial ports are usable - sio0 is redirected to BMC and sio1 is a > physical port. I can use getty on both ports. > > If I put following statements in /boot/loader.conf: > > boot_multicons="YES" > boot_serial="YES" > console="comconsole,vidconsole" You should just need the one 'console=' line. I tend to put '-Dh' in /boot.config myself to get the boot2 prompt as well. > I have correct output on serial console from loader and booting kernel, > however after kernel is booted, the port is missing. Dmesg shows, that > only one port is being detected, which formerly was sio1: > > sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > acpi0 > sio0: type 16550A, console > sio0: [FILTER] > > Thus, I'm unable to run getty. > > I belive that this issue might be related to ACPI, as similar problem > was already reported in http://markmail.org/message/chu6ilwhsxtarkfm > > Is there any solution to this problem? Do you have any hints for sio* in /boot/device.hints? -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 16:42:45 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C8D0106566B for ; Fri, 15 Apr 2011 16:42:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D46EB8FC18 for ; Fri, 15 Apr 2011 16:42:44 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 879CB46BA1; Fri, 15 Apr 2011 12:42:44 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0D61D8A027; Fri, 15 Apr 2011 12:42:44 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 15 Apr 2011 12:41:10 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> <1474571124.20110412231306@nitronet.pl> <20110412230822.GA33610@icarus.home.lan> In-Reply-To: <20110412230822.GA33610@icarus.home.lan> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104151241.10291.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 12:42:44 -0400 (EDT) Cc: Pawel Tyll , Przemyslaw Frasunek , Jeremy Chadwick Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 16:42:45 -0000 On Tuesday, April 12, 2011 7:08:22 pm Jeremy Chadwick wrote: > On Tue, Apr 12, 2011 at 11:13:06PM +0200, Pawel Tyll wrote: > > >> P.S. -- What's "BMC" stand for? > > > Baseband Management Controller. It's the separate NIC (sometimes it's > > > piggy-backed on a NIC) used for remote management of motherboards. > > > Usually includes IPMI support. Depending on the motherboard, it may > > > even include support for keyboard/video/mouse redirection and > > > serial-over-lan and all that other remote management stuff. > > > > Actually, the board in reference has built-in BMC; it's IPMI managed > > and when properly configured it allows user to ssh to its IP and > > access things like SOL, chassis power control and other IPMI things > > without any IPMI clients. As to video redirection, there's addon for > > that, built-in BMC doesn't have anything that fancy. And on point, I > > was having similar problems with these boards some time ago, but it > > seems it has been fixed somewhere between 8.1 and 8.2. > > If I remember correctly from following commits, there were changes to > the boot loader pertaining to serial port initialisation. I think I > remember something about certain control bits being set/reset when they > should have been masked out (left alone). > > As I understand it, the serial console capabilities on FreeBSD are > tested predominantly with motherboards that have on-board serial ports. > That is to say, systems with classic/legacy DB9 ports on the board > itself and not via IPMI or out-of-band management modules (re: BMC). > So, one should not be too surprised that there may be "oddities" seen > with those. > > I imagine that UART enumeration/initialisation might differ on such > modules, so this sort of problem doesn't surprise me much. Marcel > Moolenaar (author of uart(4)) probably has better insights. It may be the issue with ACPI enumerating the ports backwards which 8 handles by matching hinted devices based on resources. That has nothing to do with either sio(4) or uart(4) if so. The BMC port usually uses the resources from COM2 by default which our default hints assign to sio1/uart1. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 17:03:05 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8453E106564A; Fri, 15 Apr 2011 17:03:05 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7C68FC16; Fri, 15 Apr 2011 17:03:05 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:3ca2:99f6:8054:444f] (unknown [IPv6:2a02:2928:a:ffff:3ca2:99f6:8054:444f]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 5393823948C; Fri, 15 Apr 2011 19:03:03 +0200 (CEST) Message-ID: <4DA87A47.9050406@frasunek.com> Date: Fri, 15 Apr 2011 19:03:03 +0200 From: Przemyslaw Frasunek Organization: frasunek.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: John Baldwin References: <4DA4A96F.9000507@frasunek.com> <201104151239.31895.jhb@freebsd.org> In-Reply-To: <201104151239.31895.jhb@freebsd.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 17:03:05 -0000 >> sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on >> acpi0 >> sio0: type 16550A, console >> sio0: [FILTER] > Do you have any hints for sio* in /boot/device.hints? My /boot/device.hints are unmodified: [root@kalina-gw ~]# grep sio /boot/device.hints hint.sio.0.at="isa" hint.sio.0.port="0x3F8" hint.sio.0.flags="0x10" hint.sio.0.irq="4" hint.sio.1.at="isa" hint.sio.1.port="0x2F8" hint.sio.1.irq="3" hint.sio.2.at="isa" hint.sio.2.disabled="1" hint.sio.2.port="0x3E8" hint.sio.2.irq="5" hint.sio.3.at="isa" hint.sio.3.disabled="1" hint.sio.3.port="0x2E8" hint.sio.3.irq="9" -- * Fido: 2:480/124 ** WWW: http://www.frasunek.com ** NICHDL: PMF9-RIPE * * Jabber ID: venglin@nette.pl ** PGP ID: 2578FCAD ** HAM-RADIO: SQ5JIV * From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 17:47:26 2011 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id CF626106566B; Fri, 15 Apr 2011 17:47:26 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 2258914FCBD; Fri, 15 Apr 2011 17:47:26 +0000 (UTC) Message-ID: <4DA884AD.8030003@FreeBSD.org> Date: Fri, 15 Apr 2011 10:47:25 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110326 Thunderbird/3.1.9 MIME-Version: 1.0 To: "J. Hellenthal" References: <201104140922.p3E9M246053052__4754.10261792621$1302775251$gmane$org@DataIX.net> <86fwpjc2ok.fsf@gmail.com> <20110415093044.GA91283@DataIX.net> In-Reply-To: <20110415093044.GA91283@DataIX.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org, Pan Tsu Subject: Re: conf/156396: Make 220.backup-pkgdb cd(1) and backup only the package database. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 17:47:26 -0000 On 04/15/2011 02:30, J. Hellenthal wrote: > PS: The PR says this was committed... It was not AFAIK. I committed the script itself, which is why I picked up the PR. This is an excellent example of a bikeshed issue since it's something simple enough that everyone feels qualified to offer an opinion on. And yet, there is no actual problem here. As I said when I closed the PR, using the full path is the safest, most conservative option, and there is no reason to do otherwise. Let's move on. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 18:25:40 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B1FA1065674 for ; Fri, 15 Apr 2011 18:25:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 213FA8FC17 for ; Fri, 15 Apr 2011 18:25:40 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B358C46BA5; Fri, 15 Apr 2011 14:25:39 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 481E68A01B; Fri, 15 Apr 2011 14:25:39 -0400 (EDT) From: John Baldwin To: Przemyslaw Frasunek Date: Fri, 15 Apr 2011 14:19:22 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> <201104151239.31895.jhb@freebsd.org> <4DA87A47.9050406@frasunek.com> In-Reply-To: <4DA87A47.9050406@frasunek.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104151419.22609.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 14:25:39 -0400 (EDT) Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 18:25:40 -0000 On Friday, April 15, 2011 1:03:03 pm Przemyslaw Frasunek wrote: > >> sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > >> acpi0 > >> sio0: type 16550A, console > >> sio0: [FILTER] > > Do you have any hints for sio* in /boot/device.hints? > > My /boot/device.hints are unmodified: > > [root@kalina-gw ~]# grep sio /boot/device.hints > hint.sio.0.at="isa" > hint.sio.0.port="0x3F8" > hint.sio.0.flags="0x10" > hint.sio.0.irq="4" > hint.sio.1.at="isa" > hint.sio.1.port="0x2F8" > hint.sio.1.irq="3" > hint.sio.2.at="isa" > hint.sio.2.disabled="1" > hint.sio.2.port="0x3E8" > hint.sio.2.irq="5" > hint.sio.3.at="isa" > hint.sio.3.disabled="1" > hint.sio.3.port="0x2E8" > hint.sio.3.irq="9" Hmm, can you post the output of 'devinfo -vr' and a verbose dmesg at a URL? -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 18:31:21 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE2F106566C; Fri, 15 Apr 2011 18:31:21 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id D97838FC13; Fri, 15 Apr 2011 18:31:20 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:3ca2:99f6:8054:444f] (unknown [IPv6:2a02:2928:a:ffff:3ca2:99f6:8054:444f]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 0138223944A; Fri, 15 Apr 2011 20:31:19 +0200 (CEST) Message-ID: <4DA88EF8.2070508@frasunek.com> Date: Fri, 15 Apr 2011 20:31:20 +0200 From: Przemyslaw Frasunek Organization: frasunek.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: John Baldwin References: <4DA4A96F.9000507@frasunek.com> <201104151239.31895.jhb@freebsd.org> <4DA87A47.9050406@frasunek.com> <201104151419.22609.jhb@freebsd.org> In-Reply-To: <201104151419.22609.jhb@freebsd.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 18:31:21 -0000 > Hmm, can you post the output of 'devinfo -vr' and a verbose dmesg at a URL? Devinfo output is here: http://www.frasunek.com/tmp/devinfo.txt I'll post verbose dmesg after next reboot, which is already scheduled on sunday morning. -- * Fido: 2:480/124 ** WWW: http://www.frasunek.com ** NICHDL: PMF9-RIPE * * Jabber ID: venglin@nette.pl ** PGP ID: 2578FCAD ** HAM-RADIO: SQ5JIV * From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 18:41:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C9AB1065670 for ; Fri, 15 Apr 2011 18:41:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 73C398FC1C for ; Fri, 15 Apr 2011 18:41:42 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 2800A46BAD; Fri, 15 Apr 2011 14:41:42 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B96CA8A02C; Fri, 15 Apr 2011 14:41:41 -0400 (EDT) From: John Baldwin To: Przemyslaw Frasunek Date: Fri, 15 Apr 2011 14:40:48 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> <201104151419.22609.jhb@freebsd.org> <4DA88EF8.2070508@frasunek.com> In-Reply-To: <4DA88EF8.2070508@frasunek.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104151440.48349.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 14:41:41 -0400 (EDT) Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 18:41:42 -0000 On Friday, April 15, 2011 2:31:20 pm Przemyslaw Frasunek wrote: > > Hmm, can you post the output of 'devinfo -vr' and a verbose dmesg at a URL? > > Devinfo output is here: http://www.frasunek.com/tmp/devinfo.txt > > I'll post verbose dmesg after next reboot, which is already scheduled on sunday > morning. unknown pnpinfo _HID=PNP0501 _UID=1 at handle=\_SB_.PCI0.LPC0.UAR1 sio0 pnpinfo _HID=PNP0501 _UID=2 at handle=\_SB_.PCI0.LPC0.UAR2 Interrupt request lines: 3 I/O ports: 0x2f8-0x2ff Hmm, that unknown device is your COM1. Do you have a copy of your current dmesg available? I'm curious if sio0 failed to probe the UAR1 device and then later attached to UAR2. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 18:48:27 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FF76106564A for ; Fri, 15 Apr 2011 18:48:27 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id B9E888FC19 for ; Fri, 15 Apr 2011 18:48:26 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p3FImOq4072387; Fri, 15 Apr 2011 20:48:24 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p3FImO32072386; Fri, 15 Apr 2011 20:48:24 +0200 (CEST) (envelope-from elon) Date: Fri, 15 Apr 2011 20:48:24 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: George Kontostanos Message-ID: <20110415184823.GH9116@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: George Kontostanos , freebsd-stable@freebsd.org, freebsd-current@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ZFS V28 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 18:48:27 -0000 On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: > I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: > I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. Is there a recent patch against stable sources ? I tried the following: http://people.freebsd.org/~mm/patches/zfs/v28/stable-8-zfsv28-20110317.patch.xz This patch failes at sys/cddl/compat/opensolaris/sys/sysmacros.h which i think should just be deleted. I tried deleting this file and then building produces some errors then walls of text and then aborts. The first errors look like this: Script started on Fri Apr 15 18:32:36 2011 make -j 6 buildworld "/usr/share/mk/bsd.prog.mk", line 128: warning: duplicate script for target "_EXTRADEPEND" ignored "Makefile", line 222: warning: duplicate script for target "clean" ignored "Makefile", line 222: warning: duplicate script for target "cleandepend" ignored "Makefile", line 222: warning: duplicate script for target "distribute" ignored "Makefile", line 222: warning: duplicate script for target "lint" ignored "Makefile", line 222: warning: duplicate script for target "obj" ignored "Makefile", line 222: warning: duplicate script for target "objlink" ignored "Makefile", line 222: warning: duplicate script for target "tags" ignored "Makefile", line 222: warning: duplicate script for target "files" ignored "Makefile", line 222: warning: duplicate script for target "includes" ignored -------------------------------------------------------------- >>> World build started on Fri Apr 15 18:32:36 UTC 2011 -------------------------------------------------------------- cherio, Leon > Regards, From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 19:04:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEA7B1065746; Fri, 15 Apr 2011 19:04:50 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 7832E8FC0A; Fri, 15 Apr 2011 19:04:50 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:3ca2:99f6:8054:444f] (unknown [IPv6:2a02:2928:a:ffff:3ca2:99f6:8054:444f]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 83FE9239494; Fri, 15 Apr 2011 21:04:49 +0200 (CEST) Message-ID: <4DA896D1.6050600@frasunek.com> Date: Fri, 15 Apr 2011 21:04:49 +0200 From: Przemyslaw Frasunek Organization: frasunek.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: John Baldwin References: <4DA4A96F.9000507@frasunek.com> <201104151419.22609.jhb@freebsd.org> <4DA88EF8.2070508@frasunek.com> <201104151440.48349.jhb@freebsd.org> In-Reply-To: <201104151440.48349.jhb@freebsd.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 19:04:50 -0000 > Hmm, that unknown device is your COM1. Do you have a copy of your current > dmesg available? I'm curious if sio0 failed to probe the UAR1 device and then > later attached to UAR2. Sure, this is my non-verbose dmesg: http://www.frasunek.com/tmp/dmesg.txt It's from 7.3-RELEASE, but on 7.4 I get the same behaviour. -- * Fido: 2:480/124 ** WWW: http://www.frasunek.com ** NICHDL: PMF9-RIPE * * Jabber ID: venglin@nette.pl ** PGP ID: 2578FCAD ** HAM-RADIO: SQ5JIV * From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 20:34:45 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ABCF1065672 for ; Fri, 15 Apr 2011 20:34:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E14018FC0C for ; Fri, 15 Apr 2011 20:34:44 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 7838D46B23; Fri, 15 Apr 2011 16:34:44 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E8DA08A01B; Fri, 15 Apr 2011 16:34:43 -0400 (EDT) From: John Baldwin To: Przemyslaw Frasunek Date: Fri, 15 Apr 2011 16:34:43 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> <201104151440.48349.jhb@freebsd.org> <4DA896D1.6050600@frasunek.com> In-Reply-To: <4DA896D1.6050600@frasunek.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104151634.43336.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 16:34:44 -0400 (EDT) Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 20:34:45 -0000 On Friday, April 15, 2011 3:04:49 pm Przemyslaw Frasunek wrote: > > Hmm, that unknown device is your COM1. Do you have a copy of your current > > dmesg available? I'm curious if sio0 failed to probe the UAR1 device and then > > later attached to UAR2. > > Sure, this is my non-verbose dmesg: http://www.frasunek.com/tmp/dmesg.txt > > It's from 7.3-RELEASE, but on 7.4 I get the same behaviour. Hmm, I don't see it even trying to probe the COM1 device. I'll have to wait until you get a verbose dmesg to investigate further I'm afraid. :( -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 23:26:36 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CB151065670; Fri, 15 Apr 2011 23:26:36 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B51658FC08; Fri, 15 Apr 2011 23:26:35 +0000 (UTC) Received: by iwn33 with SMTP id 33so3280627iwn.13 for ; Fri, 15 Apr 2011 16:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fmasJWAWi4q/nJfhT2lpqS23Md3RRZOqsngssJ9aQlY=; b=V/BaQ+5nG1tHgR8SFEPMS8nw1cNSsx3Ov5eEObCMxR+dtf18VkxMZCTl/nJ61gQa+B 3pU2LwwCl3M89/N0kpL7b3mvz3G5qtqJftMhxyvTpqyO3tmNZ2IjQktKoCvIepQzzVKM oyf9mfH/jT7+XXVWzHB7+0gXMMesrZntMMLW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OrzscBj3Ct3uZevPl/KQntTS4tyNVmWWmEQXie/mRuzIBasfi/yhvyNhm0biXESc0x k5l5cfO3UmiDtMnnccirMnpPOM2MGKcSXbvypJgcd/cXRJcrS6c4OAl8O3Y1G0UrazlJ wKfG/JsboDKAS39H4+Iz588Wy0XIMj++Mxw+Y= MIME-Version: 1.0 Received: by 10.231.60.73 with SMTP id o9mr2119091ibh.33.1302909994754; Fri, 15 Apr 2011 16:26:34 -0700 (PDT) Received: by 10.231.11.196 with HTTP; Fri, 15 Apr 2011 16:26:34 -0700 (PDT) In-Reply-To: <20110415184823.GH9116@emmi.physik-pool.tu-berlin.de> References: <20110415184823.GH9116@emmi.physik-pool.tu-berlin.de> Date: Sat, 16 Apr 2011 02:26:34 +0300 Message-ID: From: George Kontostanos To: freebsd-stable@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= Subject: Re: ZFS V28 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2011 23:26:36 -0000 I think that at this point it takes more than a patch. That is way I am asking if there is a plan to MFC to 8-Stable. On Fri, Apr 15, 2011 at 9:48 PM, Leon Me=DFner wrote: > On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: > > I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. > > On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: > > I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. > > Is there a recent patch against stable sources ? I tried the following: > > > http://people.freebsd.org/~mm/patches/zfs/v28/stable-8-zfsv28-20110317.pa= tch.xz > > This patch failes at sys/cddl/compat/opensolaris/sys/sysmacros.h which i > think should just be deleted. I tried deleting this file and then > building produces some errors then walls of text and then aborts. > The first errors look like this: > > Script started on Fri Apr 15 18:32:36 2011 > make -j 6 buildworld > "/usr/share/mk/bsd.prog.mk", line 128: warning: duplicate script for > target "_EXTRADEPEND" ignored > "Makefile", line 222: warning: duplicate script for target "clean" > ignored > "Makefile", line 222: warning: duplicate script for target "cleandepend" > ignored > "Makefile", line 222: warning: duplicate script for target "distribute" > ignored > "Makefile", line 222: warning: duplicate script for target "lint" > ignored > "Makefile", line 222: warning: duplicate script for target "obj" ignored > "Makefile", line 222: warning: duplicate script for target "objlink" > ignored > "Makefile", line 222: warning: duplicate script for target "tags" > ignored > "Makefile", line 222: warning: duplicate script for target "files" > ignored > "Makefile", line 222: warning: duplicate script for target "includes" > ignored > -------------------------------------------------------------- > >>> World build started on Fri Apr 15 18:32:36 UTC 2011 > -------------------------------------------------------------- > > cherio, > Leon > > > Regards, > --=20 George Kontostanos aisecure.net From owner-freebsd-stable@FreeBSD.ORG Sat Apr 16 00:29:49 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4AD21065670; Sat, 16 Apr 2011 00:29:49 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 440B08FC0A; Sat, 16 Apr 2011 00:29:49 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 1535EAACCB4; Sat, 16 Apr 2011 08:29:48 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id K4qpF-Wh00Yr; Sat, 16 Apr 2011 08:29:41 +0800 (CST) Received: from charlie.delphij.net (unknown [124.126.234.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 4A830AACC4A; Sat, 16 Apr 2011 08:29:40 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=b1CSgaq9dwNIjuaKJMs9qiC+9XffpGZCjlG+jbQliQbIh3BYiGIbinJk2ThoVm+c3 c6o5XejhGws4NsJVnFH3Q== Message-ID: <4DA8E2BD.40206@delphij.net> Date: Sat, 16 Apr 2011 08:28:45 +0800 From: Xin LI User-Agent: Thunderbird 2.0.0.14 (X11/20080603) MIME-Version: 1.0 To: George Kontostanos , freebsd-stable@freebsd.org, freebsd-current@freebsd.org References: <20110415184823.GH9116@emmi.physik-pool.tu-berlin.de> In-Reply-To: <20110415184823.GH9116@emmi.physik-pool.tu-berlin.de> X-Enigmail-Version: 0.95.6 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: ZFS V28 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 00:29:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leon Meßner wrote: | On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: |> I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. | | On Fri, Apr 15, 2011 at 06:28:07PM +0300, George Kontostanos wrote: |> I was wondering if ZFS v28 is going to be MFC to 8-Stable or not. | | Is there a recent patch against stable sources ? I tried the following: | | http://people.freebsd.org/~mm/patches/zfs/v28/stable-8-zfsv28-20110317.patch.xz | | This patch failes at sys/cddl/compat/opensolaris/sys/sysmacros.h which i | think should just be deleted. I tried deleting this file and then | building produces some errors then walls of text and then aborts. | The first errors look like this: This file should be removed. The rejection might be caused by SCM tag from checkout, which depends on your configuration, and can be safely ignored. Cheers, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAk2o4r0ACgkQOfuToMruuMCQkwCfZZtClSQmciKJt81t79NyyH1k WgIAn0gJj075PeieFsg6gzpTmG7EDb9O =CTU7 -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 16 15:24:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F614106564A for ; Sat, 16 Apr 2011 15:24:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from fep13.mx.upcmail.net (fep13.mx.upcmail.net [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id 86A248FC13 for ; Sat, 16 Apr 2011 15:24:41 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep13-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110416152439.TADQ1429.viefep13-int.chello.at@edge03.upcmail.net> for ; Sat, 16 Apr 2011 17:24:39 +0200 Received: from pinky ([95.96.138.26]) by edge03.upcmail.net with edge id YFQd1g01j0aMTqv03FQehF; Sat, 16 Apr 2011 17:24:39 +0200 X-SourceIP: 95.96.138.26 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org References: <4DA596D3.1090803@chillt.de> Date: Sat, 16 Apr 2011 17:24:39 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <4DA596D3.1090803@chillt.de> User-Agent: Opera Mail/11.10 (Win32) X-Cloudmark-Analysis: v=1.1 cv=HQ3F56nxkum+cgCiDL7AXQpbvw7DWrWCBJRnYYnM0Zc= c=1 sm=0 a=rMDVPbX0lpwA:10 a=LJtIfV2HitoA:10 a=bgpUlknNv7MA:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=6PjnSY_ydW830xl364UA:9 a=zFgax8G5HK4MEl-jvaUA:7 a=CjuIK1q_8ugA:10 a=Hh4KRNH8I-wA:10 a=SV7veod9ZcQA:10 a=lpiIwGkjteAKp5en:21 a=hBNnSzeBzIKyM_bZ:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Subject: Re: System extremely slow under light load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 15:24:42 -0000 On Wed, 13 Apr 2011 14:28:03 +0200, Bartosz Fabianowski wrote: > Hi list > > I am having problems with my 8.2-STABLE laptop. At times, even a very > light load makes the system grind to a halt. Once an application is in > the foreground, I can interact with it just fine. But when I click on a > long-unused menu item or try to switch applications, I have to wait > dozens of seconds or even minutes. It feels as if things were being > swapped in very slowly. However, top says otherwise: > > The box has 4 GB of RAM with only 680 MB used. On top of that, 69 MB of > swap are in used. That last number does not seem to be changing, so > nothing is being swapped in or out. > > The load that seems to cause the worst problems is an import of > OpenStreetMap data into a PostgreSQL 9 database. This does not exercise > the CPU (a Core i7 Quad) much as CPU load hovers around the 20% mark > most of the time and powerd is happy to reduce the operating frequency > down to a few hundred MHz. There also does not seem to be much disk > activity. > > So, memory, CPU and disk all seem fine. And still, whenever I try to > switch applications, I have to wait minutes for them to appear. I am > having a hard time figuring out what is going on. Any tips would be > greatly appreciated. > > I am including the outputs of vmstat -c 2 and iostat -c 2 in the hope > that these may shed some light on this. > > Thanks, > - Bartosz Fabianowski > > > vmstat -c 2 > procs memory page disks faults cpu > r b w avm fre flt re pi po fr sr ad0 cd0 in sy cs > us sy id > 0 1 20 21376M 203M 1652 2 1 1 2993 289 0 0 90 949 > 2764 5 2 93 > 0 0 20 21378M 197M 1332 0 5 1 2165 0 58 0 208 7875 > 3614 2 2 96 > > > iostat -c 2 > tty ada0 cd0 pass0 cpu > tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy > in id > 188 2367 51.73 22 1.12 0.00 0 0.00 0.00 0 0.00 3 1 2 > 0 93 > 1 991 18.06 49 0.86 0.00 0 0.00 0.00 0 0.00 3 0 2 > 0 94 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Just for an experiment, try to disable powerd and look if things improve. Ronald. From owner-freebsd-stable@FreeBSD.ORG Sat Apr 16 19:35:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92AFE1065672 for ; Sat, 16 Apr 2011 19:35:56 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5118E8FC12 for ; Sat, 16 Apr 2011 19:35:56 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LJR00B3NFRUXG90@thalia-smout.broadpark.no> for freebsd-stable@freebsd.org; Sat, 16 Apr 2011 21:35:54 +0200 (CEST) Received: from kg-v2.kg4.no ([84.48.120.215]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LJR00FH2FRU5CR0@terra-smin.broadpark.no> for freebsd-stable@freebsd.org; Sat, 16 Apr 2011 21:35:54 +0200 (CEST) Date: Sat, 16 Apr 2011 21:35:54 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20110416213554.0882e7d9.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: panic in FreeBSD 8.2-stable. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 19:35:56 -0000 In case this is useful. One of my machines just had a panic (transcribed by me): panic: bad pte cpuid = 0 KDB: stack backtrace: #0 0xffffffff80603f6e at kdb_backtrace+0x5e #1 0xffffffff805d1ae7 at panic+0x187 #2 0xffffffff808b5c08 at pmap_remove_pages+0x408 #3 0xffffffff805a3435 at exec_new_vmspace+0x285 #4 0xffffffff80589d20 at exec_elf64_imgact+0x3f0 #5 0xffffffff805a3813 at kern_execve+0x3b3 #6 0xffffffff805a4bed at execve+0x3d #7 0xffffffff8060ff55 at syscallenter+0x1e5 #8 0xffffffff808bce6b at syscall+0x4b #9 0xffffffff808a5642 at Xfast_syscall+0xe2 Uptime: 1d0h10m39s The machine is running FreeBSD 8.2-stable: root@kg-quiet# uname -a FreeBSD kg-quiet.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Apr 3 19:49:05 CEST 2011 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 Hardware info here: http://sites.google.com/site/tingox/rs480m2 HTH -- Torfinn From owner-freebsd-stable@FreeBSD.ORG Sat Apr 16 23:13:19 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C590106564A; Sat, 16 Apr 2011 23:13:19 +0000 (UTC) (envelope-from przemyslaw@frasunek.com) Received: from lagoon.freebsd.lublin.pl (lagoon.freebsd.lublin.pl [IPv6:2a02:2928:a::3]) by mx1.freebsd.org (Postfix) with ESMTP id 1E3438FC08; Sat, 16 Apr 2011 23:13:19 +0000 (UTC) Received: from [IPv6:2a02:2928:a:ffff:1079:26ff:feaf:2561] (unknown [IPv6:2a02:2928:a:ffff:1079:26ff:feaf:2561]) by lagoon.freebsd.lublin.pl (Postfix) with ESMTPSA id 15B67239497; Sun, 17 Apr 2011 01:13:17 +0200 (CEST) Message-ID: <4DAA228C.3050201@frasunek.com> Date: Sun, 17 Apr 2011 01:13:16 +0200 From: Przemyslaw Frasunek User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: John Baldwin References: <4DA4A96F.9000507@frasunek.com> <201104151440.48349.jhb@freebsd.org> <4DA896D1.6050600@frasunek.com> <201104151634.43336.jhb@freebsd.org> In-Reply-To: <201104151634.43336.jhb@freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2011 23:13:19 -0000 > Hmm, I don't see it even trying to probe the COM1 device. I'll have to wait > until you get a verbose dmesg to investigate further I'm afraid. :( I've got verbose dmesg now: http://www.frasunek.com/tmp/dmesg-verb.txt