New ps feature -R

2011-02-14 Thread Matthew Dillon
master now has a new feature to /bin/ps, -R, which sub-sorts by
parent/child association and follows the chain in the output,
indenting the command to make it obvious.  Sample usage:  ps axlR

This is a pretty cool feature I think.  I had written something
similar 15 years ago and really began to miss it once I started
doing parallel pkgsrc bulkbuild tests.

-Matt
Matthew Dillon 



Re: How to tell where/how space is used?

2011-02-14 Thread Steve O'Hara-Smith
On Mon, 14 Feb 2011 12:44:38 -0800 (PST)
Matthew Dillon  wrote:

> Not to mention the fact that I just upped the minimum UNDO/REDO fifo
> size to 500M to help deal with an overflow issue. 

Is that only for new filesystems or will existing ones expand the
fifo with the new code ?

-- 
Steve O'Hara-Smith  |   Directable Mirror Arrays
C:>WIN  | A better way to focus the sun
The computer obeys and wins.|licences available see
You lose and Bill collects. |http://www.sohara.org/


Re: How to tell where/how space is used?

2011-02-14 Thread Matthew Dillon
Not to mention the fact that I just upped the minimum UNDO/REDO fifo
size to 500M to help deal with an overflow issue.  I may reduce the
minimum to 300MB, but 100MB is just too small since most systems these
days have at least 1GB of ram and on-media fifo use under stress tends
to be related to the amount of ram on the box.

HAMMER is not designed to be run on 2G partitions.  When it says that
50G is the minimum it really means it.  You can get away with smaller
sizes with care, e.g. I run HAMMER just fine on a 40G SSD, but I wouldn't
go much below that.

For small partitions, UFS is just fine.  UFS's fsck runs in just a few
seconds on filesystems that small.

-Matt


Re: How to tell where/how space is used?

2011-02-14 Thread Matthias Rampke
On Mon, Feb 14, 2011 at 06:39, Pierre Abbat  wrote:
> 2 GB Hammer partition

This is something you're not supposed to do(tm): the HAMMER(5) man
page recommends a minimum size of 50GB [1].

> It *started out* 15% full. It's still 15% full; there's
> not much on it.

That's probably just HAMMER metadata.



[1] http://leaf.dragonflybsd.org/cgi/web-man?command=hammer§ion=5
"Large File Systems & Multi Volume"