Re: mmap performance and memory use

2011-10-25 Thread Alan Cox
On 10/10/2011 4:28 PM, Wojciech Puchar wrote: Notice that vm.pmap.pde.promotions increased by 31. This means that 31 superpage mappings were created by promotion from small page mappings. thank you. i looked at .mappings as it seemed logical for me that is shows total. In contrast, vm.pm

Re: _SC_GETPW_R_SIZE_MAX undefined in sysconf.c, what is correct value?

2011-10-25 Thread Dan Nelson
In the last episode (Oct 25), Christopher J. Ruwe said: > On Mon, 24 Oct 2011 15:42:10 -0500 > Dan Nelson wrote: > > In the last episode (Oct 24), Christopher J. Ruwe said: > > > On Sun, 23 Oct 2011 19:10:34 -0500 > > > Dan Nelson wrote: > > > > In the last episode (Oct 23), Christopher J. Ruwe s

Re: iotop (dtrace?)

2011-10-25 Thread Steven Hartland
top and then use the IO mode, will give you an idea where the issue is. Regards Steve - Original Message - From: "Stefan Bethke" To: Sent: Tuesday, October 25, 2011 9:34 PM Subject: iotop (dtrace?) I've got two systems with a constantly high rate of disk I/O that sometimes se

Re: iotop (dtrace?)

2011-10-25 Thread Stefan Bethke
Am 25.10.2011 um 22:50 schrieb Baptiste Daroussin: > On Tue, Oct 25, 2011 at 10:34:39PM +0200, Stefan Bethke wrote: >> I've got two systems with a constantly high rate of disk I/O that sometimes >> seems to be overwhelmed from it. Before trying to decide if a hardware >> upgrade will help, I'd

Re: iotop (dtrace?)

2011-10-25 Thread Baptiste Daroussin
On Tue, Oct 25, 2011 at 10:34:39PM +0200, Stefan Bethke wrote: > I've got two systems with a constantly high rate of disk I/O that sometimes > seems to be overwhelmed from it. Before trying to decide if a hardware > upgrade will help, I'd like to figure out which processes generate the load. >

iotop (dtrace?)

2011-10-25 Thread Stefan Bethke
I've got two systems with a constantly high rate of disk I/O that sometimes seems to be overwhelmed from it. Before trying to decide if a hardware upgrade will help, I'd like to figure out which processes generate the load. I've found a couple scripts named iotop which appear to produce what I

Re: _SC_GETPW_R_SIZE_MAX undefined in sysconf.c, what is correct value?

2011-10-25 Thread Christopher J. Ruwe
On Mon, 24 Oct 2011 15:42:10 -0500 Dan Nelson wrote: > In the last episode (Oct 24), Christopher J. Ruwe said: > > On Sun, 23 Oct 2011 19:10:34 -0500 > > Dan Nelson wrote: > > > In the last episode (Oct 23), Christopher J. Ruwe said: > > > > I need to get the maximum size of an pwd-entry to dete

Re: Shrinking 4 parititions on a new HP laptop

2011-10-25 Thread rank1seeker
When Win comes with machine, you don't use it at all. YOU install Win, set it up and THEN use it. You must have bootable USB stick, which you have already setup-ed (Must be able to compile/install BSD itself and in it, you have your BSD confs). Stick it and enter boot menu on laptop and choose US

Re: Shrinking 4 parititions on a new HP laptop

2011-10-25 Thread Julian H. Stacey
"Julian H. Stacey" wrote: > A new purchased HP laptop (pavilion entertainment PC dm3 ... As no answer so far, I reformulated posting, added info & reposted to sysinstall@ Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; In

Re: determining bus_dma memory usage by driver

2011-10-25 Thread Chuck Tuffli
On Mon, Oct 24, 2011 at 8:38 PM, Matthew Jacob wrote: > > On 10/24/2011 5:21 PM, Chuck Tuffli wrote: >> >> Is there an easy way to determine the amount of bus_dma memory >> allocated by a driver? Something similar to vmstat -m >> > > bus_dma memory allocations are platform specific. Looking at lea

Re: Apache Corefile issues

2011-10-25 Thread Mark Saad
On Mon, Oct 24, 2011 at 5:26 PM, Bernd Walter wrote: > On Mon, Oct 24, 2011 at 04:52:15PM -0400, Mark Saad wrote: >> Hackers >> I have a strange apache issue , and I wonder if anyone has seen this before. >> I am running Apache 1.3.34 on freeBSD 7.3-RELEASE amd64 . At some >> point in the day apac

Re: "ps -e" without procfs(5)

2011-10-25 Thread Mikolaj Golub
On Tue, 25 Oct 2011 11:24:51 +0300 Kostik Belousov wrote: KB> On Tue, Oct 25, 2011 at 12:13:10AM +0300, Mikolaj Golub wrote: >> >> On Sun, 16 Oct 2011 20:10:05 +0300 Kostik Belousov wrote: >> >> KB> In my opinion, the way to implement the feature is to (re)use >> KB> linprocfs_doargv()

Re: "ps -e" without procfs(5)

2011-10-25 Thread Robert N. M. Watson
On 25 Oct 2011, at 09:24, Kostik Belousov wrote: > On Tue, Oct 25, 2011 at 12:13:10AM +0300, Mikolaj Golub wrote: >> >> On Sun, 16 Oct 2011 20:10:05 +0300 Kostik Belousov wrote: >> >> KB> In my opinion, the way to implement the feature is to (re)use >> KB> linprocfs_doargv() and provide another

Re: "ps -e" without procfs(5)

2011-10-25 Thread Kostik Belousov
On Tue, Oct 25, 2011 at 12:13:10AM +0300, Mikolaj Golub wrote: > > On Sun, 16 Oct 2011 20:10:05 +0300 Kostik Belousov wrote: > > KB> In my opinion, the way to implement the feature is to (re)use > KB> linprocfs_doargv() and provide another kern.proc sysctl to retrieve the > KB> argv and env ve