> Interesting.  My Ultra 20 with 2GB get stuck, scratching the disk and freezing
> the overall system for more than 45 minutes before I shut it  down (not very
> gracefully).
>
> Is the behavior of 'zdb -S' expected to be long to run, and to load
> significantly the system?

FYI, here are some information on memory consumption during 'zdb'.

* At the very beginning of 'pfexec zdb -S rpool':

$ echo ::memstat | /usr/bin/pfexec mdb -k
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     132425               517   25%
ZFS File Data              123680               483   24%
Anon                        87880               343   17%
Exec and libs                3852                15    1%
Page cache                  15224                59    3%
Free (cachelist)            17396                67    3%
Free (freelist)            141389               552   27%
Total                      521846              2038
Physical                   521845              2038

* After ~10 minutes and a more and more freezing system,
  I sent a Ctrl-C to 'zdb'. Here is the memory just before the
  the Ctrl-C :

$ echo ::memstat | /usr/bin/pfexec mdb -k
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     132327               516   25%
ZFS File Data               40784               159    8%
Anon                       322631              1260   62%
Exec and libs                2533                 9    0%
Page cache                  11879                46    2%
Free (cachelist)             5204                20    1%
Free (freelist)              6488                25    1%
Total                      521846              2038
Physical                   521845              2038

* And after the Ctrl-C:

$ echo ::memstat | /usr/bin/pfexec mdb -k
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     124306               485   24%
ZFS File Data               15300                59    3%
Anon                        49092               191    9%
Exec and libs                1284                 5    0%
Page cache                   7374                28    1%
Free (cachelist)              487                 1    0%
Free (freelist)            324003              1265   62%
Total                      521846              2038
Physical                   521845              2038

-- 
julien.
http://blog.thilelli.net/
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to