Re: Status on X220

2012-04-20 Thread Andriy Gapon
on 20/04/2012 06:43 Erich Dollansky said the following: Hi, On Friday 20 April 2012 10:17:55 Kevin Oberman wrote: On Thu, Apr 19, 2012 at 6:25 PM, Erich Dollansky erichfreebsdl...@ovitrap.com wrote: Minor note. Sound card seems to work OK through the speakers, but I have failed to find

Re: Status on X220

2012-04-20 Thread Lars Engels
On Thu, Apr 19, 2012 at 08:17:55PM -0700, Kevin Oberman wrote: Minor note. Sound card seems to work OK through the speakers, but I have failed to find the magic to make the headphone jack work. This is the same for my x200, but you can make it work: On 9.0-RELEASE you have to configure

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread Luigi Rizzo
On Fri, Apr 20, 2012 at 12:37:21AM +0200, Andre Oppermann wrote: On 20.04.2012 00:03, Luigi Rizzo wrote: On Thu, Apr 19, 2012 at 11:20:00PM +0200, Andre Oppermann wrote: On 19.04.2012 22:46, Luigi Rizzo wrote: The allocation happens while the code has already an exclusive lock on so-snd_buf

[head tinderbox] failure on i386/pc98

2012-04-20 Thread FreeBSD Tinderbox
TB --- 2012-04-20 03:30:01 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-04-20 03:30:01 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB ---

[head tinderbox] failure on i386/i386

2012-04-20 Thread FreeBSD Tinderbox
TB --- 2012-04-20 03:30:01 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-04-20 03:30:01 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB ---

Re: Status on X220

2012-04-20 Thread Kevin Oberman
On Thu, Apr 19, 2012 at 11:14 PM, Lars Engels lars.eng...@0x20.net wrote: On Thu, Apr 19, 2012 at 08:17:55PM -0700, Kevin Oberman wrote: Minor note. Sound card seems to work OK through the speakers, but I have failed to find the magic to make the headphone jack work. This is the same for my

[head tinderbox] failure on amd64/amd64

2012-04-20 Thread FreeBSD Tinderbox
TB --- 2012-04-20 03:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-04-20 03:30:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB ---

Re: Status on X220

2012-04-20 Thread Hannes Mehnert
Hi, On 04/20/2012 05:17, Kevin Oberman wrote: Minor note. Sound card seems to work OK through the speakers, but I have failed to find the magic to make the headphone jack work. I have not tried very hard, either. The headphone jack is also a microphone input. It is detected as a separate

Re: Status on X220

2012-04-20 Thread Kevin Oberman
On Fri, Apr 20, 2012 at 12:11 AM, Hannes Mehnert han...@mehnert.org wrote: Hi, On 04/20/2012 05:17, Kevin Oberman wrote: Minor note. Sound card seems to work OK through the speakers, but I have failed to find the magic to make the headphone jack work. I have not tried very hard, either.

Re: Status on X220

2012-04-20 Thread Hannes Mehnert
Hi, On 04/20/2012 09:30, Kevin Oberman wrote: Hmm. Almost works. If is set hw.snd.default_unit=1, the speakers are off whether the headphones are plugged in an I get the same behavior. It would be nice if there would be some event triggered if a headphone is plugged in. What is notable is

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread Alexander V. Chernikov
On 20.04.2012 01:12, Andre Oppermann wrote: On 19.04.2012 22:34, K. Macy wrote: This is indeed a big problem. I'm working (rough edges remain) on changing the routing table locking to an rmlock (read-mostly) which This only helps if your flows aren't hitting the same rtentry. Otherwise you

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread Andre Oppermann
On 20.04.2012 10:26, Alexander V. Chernikov wrote: On 20.04.2012 01:12, Andre Oppermann wrote: On 19.04.2012 22:34, K. Macy wrote: If the number of peers is bounded then you can use the flowtable. Max PPS is much higher bypassing routing lookup. However, it doesn't scale From my

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread Andre Oppermann
On 20.04.2012 08:35, Luigi Rizzo wrote: On Fri, Apr 20, 2012 at 12:37:21AM +0200, Andre Oppermann wrote: On 20.04.2012 00:03, Luigi Rizzo wrote: On Thu, Apr 19, 2012 at 11:20:00PM +0200, Andre Oppermann wrote: On 19.04.2012 22:46, Luigi Rizzo wrote: The allocation happens while the code has

buildworld fails on FreeBSD 7.x for HEAD from 19.04.2012

2012-04-20 Thread Jan Sieka
Hello! I can't build world from recent sources (HEAD as of 2012.04.19 11:06:48 UTC) on a machine running FreeBSD 7.3. I know it's EoLed, but I have found information in getline(3) manual that this function first appeared in FreeBSD 8, so I presume that the problem is present also for FreeBSD

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread John Baldwin
On Thursday, April 19, 2012 4:46:22 pm Luigi Rizzo wrote: What might be moderately expensive are the critical_enter()/critical_exit() calls around individual allocations. The allocation happens while the code has already an exclusive lock on so-snd_buf so a pool of fresh buffers could be

Re: mountd, rpc.lockd and rpc.statd patches for testing

2012-04-20 Thread Andrey Simonenko
On Thu, Apr 19, 2012 at 08:44:37PM -0400, Rick Macklem wrote: Andrey Simonenko wrote: 1. What is the sense to try to use the same port number for all supported netconfigs if specific port number is not given in a command line option? Well, there was a discussion of this on one of the

/usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread David Wolfskill
I update my local mirror of the SVN repo nightly, then use it to track stable/8, stable/9, and head in the mornings -- both on my laptop on my local build machine. While that usually just works, head has been a bit more turbulent in the last few days. My last successful build of head is

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Michael Pounov
yep, I sent PR for this issue;) http://www.freebsd.org/cgi/query-pr.cgi?pr=167064 On Fri, 20 Apr 2012 05:57:18 -0700 David Wolfskill da...@catwhisker.org wrote: I update my local mirror of the SVN repo nightly, then use it to track stable/8, stable/9, and head in the mornings -- both on my

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread Luigi Rizzo
On Thu, Apr 19, 2012 at 11:06:38PM +0200, K. Macy wrote: On Thu, Apr 19, 2012 at 11:22 PM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Apr 19, 2012 at 10:34:45PM +0200, K. Macy wrote: This is indeed a big problem. ?I'm working (rough edges remain) on changing the routing table locking

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread K. Macy
Comments inline below: On Fri, Apr 20, 2012 at 4:44 PM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Apr 19, 2012 at 11:06:38PM +0200, K. Macy wrote: On Thu, Apr 19, 2012 at 11:22 PM, Luigi Rizzo ri...@iet.unipi.it wrote: On Thu, Apr 19, 2012 at 10:34:45PM +0200, K. Macy wrote: This is

Re: buildworld fails on FreeBSD 7.x for HEAD from 19.04.2012

2012-04-20 Thread Doug Barton
On 4/20/2012 5:16 AM, Jan Sieka wrote: I can't build world from recent sources (HEAD as of 2012.04.19 11:06:48 UTC) on a machine running FreeBSD 7.3. That's not a supported configuration. We don't promise support for $VERSION on anything less than the most recent version of $VERSION - 1. --

Re: contrib/jemalloc

2012-04-20 Thread Doug Barton
On 4/12/2012 1:19 PM, Jason Evans wrote: On Apr 12, 2012, at 11:41 AM, David O'Brien wrote: * Is it acceptable to check this in directly to trunk without using a vendor branch? For the import workflow I have planned, a vendor branch would just be extra work with no benefit that I can see.

Disabling an arbitrary device

2012-04-20 Thread Arnaud Lacombe
Hi, I will be bringing up an old thread there, but it would seem the situation did not evolve in the past 9 years. I have a machine running 7.1 whose UHCI controller is generating some interrupt storm: # vmstat -i interrupt total rate irq4: sio0

Re: contrib/jemalloc

2012-04-20 Thread Pedro Giffuni
Hi; --- Ven 20/4/12, Doug Barton ha scritto: ... The workflow I'm using is documented in the patch (contrib/jemalloc/FREEBSD-upgrade).  Can you tell me how to achieve a similarly streamlined import flow with a vendor branch in the mix?  Also, what history would a vendor branch preserve

Re: Disabling an arbitrary device

2012-04-20 Thread Arnaud Lacombe
Hi, On Fri, Apr 20, 2012 at 2:16 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi, I will be bringing up an old thread there, but it would seem the situation did not evolve in the past 9 years. I have a machine running 7.1 whose UHCI controller is generating some interrupt storm: # vmstat

more network performance info: ether_output()

2012-04-20 Thread Luigi Rizzo
Continuing my profiling on network performance, another place were we waste a lot of time is if_ethersubr.c::ether_output() In particular, from the beginning of ether_output() to the final call to ether_output_frame() the code takes slightly more than 210ns on my i7-870 CPU running at 2.93 GHz +

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Dimitry Andric
On 2012-04-20 15:55, Michael Pounov wrote: On Fri, 20 Apr 2012 05:57:18 -0700 David Wolfskillda...@catwhisker.org wrote: ... The update after 234416 was to 234454; the attempted buildworld failed: ... /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Jason Evans
On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: On 2012-04-20 15:55, Michael Pounov wrote: On Fri, 20 Apr 2012 05:57:18 -0700 David Wolfskillda...@catwhisker.org wrote: ... The update after 234416 was to 234454; the attempted buildworld failed: ... /usr/bin/as: out of memory allocating

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Dimitry Andric
On 2012-04-20 21:54, Jason Evans wrote: On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: ... I think the best solution would be for jemalloc to avoid using obvious names like chunksize for its globals, because it is basically a library that could be linked to any sort of program out there.

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Jason Evans
On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: On 2012-04-20 21:54, Jason Evans wrote: On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: ... I think the best solution would be for jemalloc to avoid using obvious names like chunksize for its globals, because it is basically a library

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Doug Barton
On 04/20/2012 01:14 PM, Jason Evans wrote: On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: On 2012-04-20 21:54, Jason Evans wrote: On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: ... I think the best solution would be for jemalloc to avoid using obvious names like chunksize for its

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Jason Evans
On Apr 20, 2012, at 1:14 PM, Jason Evans wrote: On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: On 2012-04-20 21:54, Jason Evans wrote: On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: I think the best solution would be for jemalloc to avoid using obvious names like chunksize for its

Re: contrib/jemalloc

2012-04-20 Thread Doug Barton
On 04/20/2012 11:18 AM, Pedro Giffuni wrote: FWIW, While the vendor branch is usually the cleanest way to merge updates, it is not always the best. I personally gave up on updating two packages from the vendor tree because it's just too much trouble. With due respect, if doing it the right

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Dimitry Andric
On 2012-04-20 22:21, Jason Evans wrote: On Apr 20, 2012, at 1:14 PM, Jason Evans wrote: On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: On 2012-04-20 21:54, Jason Evans wrote: On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: I think the best solution would be for jemalloc to avoid

Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes

2012-04-20 Thread Julian Elischer
On 4/20/12 1:37 PM, Dimitry Andric wrote: On 2012-04-20 22:21, Jason Evans wrote: On Apr 20, 2012, at 1:14 PM, Jason Evans wrote: On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: On 2012-04-20 21:54, Jason Evans wrote: On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: I think the best

Re: contrib/jemalloc

2012-04-20 Thread Pedro Giffuni
--- Ven 20/4/12, Doug Barton do...@freebsd.org ha scritto: ... With due respect, if doing it the right way is too difficult, the answer is to ask for help rather than giving up. There are plenty of us who are experienced with doing this, and would be glad to assist. In the CVS era I

Re: contrib/jemalloc

2012-04-20 Thread Doug Barton
On 04/20/2012 02:13 PM, Pedro Giffuni wrote: --- Ven 20/4/12, Doug Barton do...@freebsd.org ha scritto: ... With due respect, if doing it the right way is too difficult, the answer is to ask for help rather than giving up. There are plenty of us who are experienced with doing this, and

Re: contrib/jemalloc

2012-04-20 Thread David O'Brien
On Fri, Apr 20, 2012 at 02:13:32PM -0700, Pedro Giffuni wrote: Easier said than done. Feel free to give libedit a try. That has nothing to do with our process and everything to do with us blindly hacking away pissing all over to be our own thing -- BUT still wanting to take work from the

Re: Disabling an arbitrary device

2012-04-20 Thread Attilio Rao
Il 20 aprile 2012 19:18, Arnaud Lacombe lacom...@gmail.com ha scritto: Hi, On Fri, Apr 20, 2012 at 2:16 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi, I will be bringing up an old thread there, but it would seem the situation did not evolve in the past 9 years. I have a machine running

Re: contrib/jemalloc

2012-04-20 Thread Pedro Giffuni
On 04/20/12 19:32, David O'Brien wrote: On Fri, Apr 20, 2012 at 02:13:32PM -0700, Pedro Giffuni wrote: Easier said than done. Feel free to give libedit a try. That has nothing to do with our process and everything to do with us blindly hacking away pissing all over to be our own thing -- BUT

Re: Status on X220

2012-04-20 Thread Oleksandr Tymoshenko
On 19/04/2012 8:17 PM, Kevin Oberman wrote: I made a quick attempt at the card reader, but had no luck finding a driver that would work. Still, the system has worked for me for at least 6 months, now. It seems the driver you need is sdhci (alogn with mmc and mmcsd). X220 card reader support