Re: minidump size on amd64

2010-10-01 Thread Andriy Gapon
on 30/09/2010 01:26 Alan Cox said the following: On 9/29/2010 3:41 PM, Andriy Gapon wrote: So perhaps we need to add another level of indirection? I.e. first dump contiguous array of pseudo-pde entries that would point to chunks of pseudo-pte entries, so that pseudo-pte entries could be

Re: Examining the VM splay tree effectiveness

2010-10-01 Thread Andre Oppermann
On 30.09.2010 19:51, Ivan Voras wrote: On 09/30/10 18:37, Andre Oppermann wrote: Both the vmmap and page table make use of splay trees to manage the entries and to speed up lookups compared to long to traverse linked lists or more memory expensive hash tables. Some structures though do have

Re: Examining the VM splay tree effectiveness

2010-10-01 Thread Andre Oppermann
On 01.10.2010 06:49, Matthew Dillon wrote: I don't remember the reference but I read a comprehensive comparison between various indexing methods about a year ago and the splay tree did considerably better than a RB-tree. The RB-tree actually did fairly poorly. It heavily

Re: patch for topology detection of Intel CPUs

2010-10-01 Thread Andriy Gapon
on 06/09/2010 15:17 Andriy Gapon said the following: on 29/08/2010 12:25 Andriy Gapon said the following: The below patch is against sources in FreeBSD tree, it should be applied either to sys/amd64/amd64/mp_machdep.c or sys/i386/i386/mp_machdep.c depending on the desired architecture:

Re: Sleep/Lenovo SL410

2010-10-01 Thread Ian Smith
On Thu, 30 Sep 2010, Matt wrote: Success! After setting every possible suspend/resume sysctl, sysctl hw.pci.do_power_resume=0 allowed suspend and resume. Still beeps 1-3 times before suspend, with rapid sleep light flashing until suspend complete. Interesting; $someone may document

CACHE_LINE_SIZE too small, so struct vpglocks size alignment doesn't work

2010-10-01 Thread Svatopluk Kraus
Hallo, a size of 'struct vpglocks' is padded to CACHE_LINE_SIZE size in 'sys/vm/vm_page.h' header file. I work on a 'coldfire' port where CACHE_LINE_SIZE is 16 bytes and sizeof(struct mtx) is 20 bytes thus size alignment doesn't work. I solved it somehow, but I like to learn how to solve it

Re: CACHE_LINE_SIZE too small, so struct vpglocks size alignment doesn't work

2010-10-01 Thread Matthew Fleming
On Fri, Oct 1, 2010 at 1:00 PM, Svatopluk Kraus onw...@gmail.com wrote: Hallo,  a size of 'struct vpglocks' is padded to CACHE_LINE_SIZE size in 'sys/vm/vm_page.h' header file. I work on a 'coldfire' port where CACHE_LINE_SIZE is 16 bytes and sizeof(struct mtx) is 20 bytes thus size

ping6 cause kernel panic in nd6_output_lle()

2010-10-01 Thread Andrey Chernov
Pinging nonexistent IPv6 adress withing the same prefixlen 64 (i.e. nonexistent neighbor) immediately cause kernel panic in nd6_output_lle() See http://img837.imageshack.us/img837/7496/01102010f.jpg Please fix. -- http://ache.pp.ru/ ___

Re: Examining the VM splay tree effectiveness

2010-10-01 Thread Ed Schouten
Andre, * Andre Oppermann an...@freebsd.org wrote: A splay tree is an interesting binary search tree with insertion, lookup and removal performed in O(log n) *amortized* time. With the *amortized* time being the crucial difference to other binary trees. On every access *including* lookup it

Re: Sleep/Lenovo SL410

2010-10-01 Thread Paul B Mahol
On 10/1/10, Ian Smith smi...@nimnet.asn.au wrote: On Thu, 30 Sep 2010, Matt wrote: Success! After setting every possible suspend/resume sysctl, sysctl hw.pci.do_power_resume=0 allowed suspend and resume. Still beeps 1-3 times before suspend, with rapid sleep light flashing

Very interesting paper: An Analysis of Linux Scalability to many Cores

2010-10-01 Thread Andre Oppermann
Just saw the link to a very interesting paper on SMP scalability. A very good read and highly relevant for our efforts as well. In certain areas we may already fare better, in others we still have some work to do. An Analysis of Linux Scalability to many Cores ABSTRACT This paper analyzes the

Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
I have recently acquired a new laptop (to replace the Frankenlaptop I've been using for the last several years). The new machine is a Dell Precision M4400, so it's pretty recent technology compared to what I'm used to. :-} I installed FreeBSD 8.1-R on slice 1, customized it a bit to work in my

Re: ping6 cause kernel panic in nd6_output_lle()

2010-10-01 Thread Bjoern A. Zeeb
On Fri, 1 Oct 2010, Andrey Chernov wrote: Pinging nonexistent IPv6 adress withing the same prefixlen 64 (i.e. nonexistent neighbor) immediately cause kernel panic in nd6_output_lle() See http://img837.imageshack.us/img837/7496/01102010f.jpg want to try the patch from kern/148857? /bz --

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
On Fri, Oct 01, 2010 at 02:20:38PM -0700, David Wolfskill wrote: I have recently acquired a new laptop (to replace the Frankenlaptop I've been using for the last several years). ... While I'm not about to assume that this indicates something wrong with FreeBSD, I'm a bit less inclined to

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
On Fri, Oct 01, 2010 at 04:30:01PM -0700, David Wolfskill wrote: ... I found the disabling the Module Bay appears to avoid the hang -- reliably. That appears to be the minimally-invasive change necessary to avoid the hang. Until I realized what was in the Modular Bay: the CD/CVD

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread Brandon Gooch
On Fri, Oct 1, 2010 at 8:33 PM, David Wolfskill da...@catwhisker.org wrote: On Fri, Oct 01, 2010 at 04:30:01PM -0700, David Wolfskill wrote: ... I found the disabling the Module Bay appears to avoid the hang -- reliably. That appears to be the minimally-invasive change necessary to avoid the

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread Garrett Cooper
On Fri, Oct 1, 2010 at 6:33 PM, David Wolfskill da...@catwhisker.org wrote: On Fri, Oct 01, 2010 at 04:30:01PM -0700, David Wolfskill wrote: ... I found the disabling the Module Bay appears to avoid the hang -- reliably. That appears to be the minimally-invasive change necessary to avoid the

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
On Fri, Oct 01, 2010 at 07:22:33PM -0700, Garrett Cooper wrote: ... Any ideas on what mught be causing CURRENT to hang -- sometimes -- given that it appears to involve the Modular Bay (or the specific device that is in the bay during the hang)? Do you have boot -v output? Yes;

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread Garrett Cooper
On Fri, Oct 1, 2010 at 8:24 PM, David Wolfskill da...@catwhisker.org wrote: On Fri, Oct 01, 2010 at 07:22:33PM -0700, Garrett Cooper wrote: ... Any ideas on what mught be causing CURRENT to hang -- sometimes -- given that it appears to involve the Modular Bay (or the specific device that

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
On Fri, Oct 01, 2010 at 08:56:13PM -0500, Brandon Gooch wrote: ... Any ideas on what mught be causing CURRENT to hang -- sometimes -- given that it appears to involve the Modular Bay (or the specific device that is in the bay during the hang)? If you haven't already, it may be worth

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
On Fri, Oct 01, 2010 at 08:37:50PM -0700, Garrett Cooper wrote: ... This might sound like a stupid idea, but can you try booting with a CD/DVD in the drive? Ah -- sorry about that. :-( OK; it may be a bit before I get a successful verbose boot without ATA_CAM and with the CD/DVD drive

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread David Wolfskill
On Fri, Oct 01, 2010 at 08:37:50PM -0700, Garrett Cooper wrote: ... albert(8.1-S)[11] ls -lT total 196 -rw-r--r--  1 david  wheel   11497 Oct  1 20:19:06 2010 console.log -rw-r--r--  1 david  wheel   60397 Oct  1 19:26:23 2010 dmesg.boot -rw-r--r--  1 david  wheel  114752 Oct  1

Re: Hang near end of kernel probes since r213267 (likely earlier)

2010-10-01 Thread Brandon Gooch
On Fri, Oct 1, 2010 at 10:38 PM, David Wolfskill da...@catwhisker.org wrote: On Fri, Oct 01, 2010 at 08:56:13PM -0500, Brandon Gooch wrote: ... Any ideas on what mught be causing CURRENT to hang -- sometimes -- given that it appears to involve the Modular Bay (or the specific device that