Re: [vfs] buf_daemon() slows down write() severely on low-speed CPU

2012-03-15 Thread Konstantin Belousov
On Tue, Mar 13, 2012 at 01:54:38PM +0100, Svatopluk Kraus wrote: > On Mon, Mar 12, 2012 at 7:19 PM, Konstantin Belousov > wrote: > > On Mon, Mar 12, 2012 at 04:00:58PM +0100, Svatopluk Kraus wrote: > >> Hi, > >> > >>    I have solved a following problem. If a big file (according to > >> 'hidirtybu

Updating fscd

2012-03-15 Thread Julian Djamil Fagir
Hi, fscd by Tom Rhodes (see http://people.freebsd.org/~trhodes/fsc/) is a *very* nice tool for administrators, and I want to use it with our computers. But there were some usability flaws and he unfortunately didn't have time to continue working on it. These are my modifications, based on the las

Re: [vfs] buf_daemon() slows down write() severely on low-speed CPU

2012-03-15 Thread Svatopluk Kraus
2012/3/15 Konstantin Belousov : > On Tue, Mar 13, 2012 at 01:54:38PM +0100, Svatopluk Kraus wrote: >> On Mon, Mar 12, 2012 at 7:19 PM, Konstantin Belousov >> wrote: >> > On Mon, Mar 12, 2012 at 04:00:58PM +0100, Svatopluk Kraus wrote: >> >> Hi, >> >> >> >>    I have solved a following problem. If

FTSENT: name and path on `/' versus name and path on `*/'

2012-03-15 Thread Matthew Story
Found a curious incongruent behavior in fts(3), wondering if there is some reason for this, or if it's just a bug. If you include the path `/' the FTSENT at depth 0 that is returned for the path has both fts_path = "/" and fts_name = "/", compared to other entries, like /var which has fts_path =

Re: compiling ports with SSP (was: [PATCH] Add -lssp_nonshared to GCC's LIB_SPEC unconditionally)=

2012-03-15 Thread Jeremie Le Hen
Hi Bryan On Sun, Feb 26, 2012 at 09:41:07PM -0600, Bryan Drewery wrote: > > Thanks for this patch [1]! > > I've been building my ports tree with -fstack-protector on FreeBSD 6, 7 > and 8. Once I upgraded to 8, I started running into the issue [2] this > patch is fixing. > > I have a situation w

Re: Capture states of all processes at the same time

2012-03-15 Thread Maninya M
I am unable to enter DDB. I used the command from this link: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html where it says: -- The second scenario is to drop to the debugger once the system has booted. There are two simple ways to accomplish this. If you

Re: Capture states of all processes at the same time

2012-03-15 Thread Artem Belevich
On Thu, Mar 15, 2012 at 10:49 PM, Maninya M wrote: > # sysctl debug.kdb.enter=1 > > -- > > But when I type that the computer hangs! Did you by any chance do that from a terminal window in X11 environment? If that's the case, then kernel debugger is running, you just don't see anything because