On 05/07/14 13:24, Yann Sagon wrote:
3) when using rbh-du it takes often more time than using du.

There is a bug in robinhood 2.5.0/.1 that can considerabily slow rbh-du.
The fix will be part of rbh 2.5.2.

until 2.5.2 is available, you can apply the following patch:

diff --git a/src/robinhood/rbh_du.c b/src/robinhood/rbh_du.c
index 7853925..504ec26 100644
--- a/src/robinhood/rbh_du.c
+++ b/src/robinhood/rbh_du.c
@@ -127,7 +127,7 @@ static lmgr_filter_t parent_filter; /* same as entry_filter + condition on pa
 static bool_node_t      match_expr;
 static int              is_expr = 0; /* is it set? */

-static int disp_mask = ATTR_MASK_fullpath | ATTR_MASK_type | ATTR_MASK_blocks | ATTR_MASK_size;
+static int disp_mask = ATTR_MASK_type | ATTR_MASK_blocks | ATTR_MASK_size;
 static int query_mask = 0;

 typedef struct stats_du_t
@@ -690,7 +690,7 @@ static int list_content(char ** id_list, int id_count)
             if (rc)
                 return rc;

-            print_stats(ATTR(&root_attrs, fullpath), stats);
+            print_stats(ids[i].fullname, stats);
         }
     }


Regards,
Thomas
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to