Re: [PATCH] md5: accepts a new --threads option (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Pádraig Brady |
---|---|
Subject: | Re: [PATCH] md5: accepts a new --threads option |
Date: | Sun, 18 Oct 2009 13:01:22 +0100 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071008) |
Giuseppe Scrivano wrote:
I created four files:
a' and
b' are 150Mb, differentlyc' and
d' are few Kb. These are the results I get:$ time ./sha1sum --threads /tmp/testfiles/* 09e00486b4fb88805f7261fac1dd4c7f0ee7640e /tmp/testfiles/a 203c0607c7ebff14ecf23b37005a714f2dc19b0b /tmp/testfiles/b 3f786850e387550fdab836ed7e6dc881de23001b /tmp/testfiles/c d7c8127a20a396cff08af086a1c695b0636f0c29 /tmp/testfiles/d
real 0m1.804s
$ time find /tmp/testfiles/* | xargs -n4 -P2 ./sha1sum 09e00486b4fb88805f7261fac1dd4c7f0ee7640e /tmp/testfiles/a 203c0607c7ebff14ecf23b37005a714f2dc19b0b /tmp/testfiles/b 3f786850e387550fdab836ed7e6dc881de23001b /tmp/testfiles/c d7c8127a20a396cff08af086a1c695b0636f0c29 /tmp/testfiles/d
real 0m3.288s
With -n4 only 1 process would be started. Could you repeat with -n1 please for comparison. One would only need to increase -n for large numbers of files.
thanks, Pádraig.
- Re: [PATCH] core-count: A new program to count the number of cpu cores, (continued)
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Paolo Bonzini, 2009/10/27
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Bruno Haible, 2009/10/27
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/10/27
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/10/31
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Jim Meyering, 2009/10/31
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/10/31
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Jim Meyering, 2009/10/31
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/10/31
* Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/10/31
* Re: [PATCH] md5: accepts a new --threads option, Giuseppe Scrivano, 2009/10/17
* Re: [PATCH] md5: accepts a new --threads option,Pádraig Brady <=
* Re: [PATCH] md5: accepts a new --threads option, Giuseppe Scrivano, 2009/10/18
* Re: [PATCH] md5: accepts a new --threads option, Pádraig Brady, 2009/10/20
* Re: [PATCH] md5: accepts a new --threads option, Pádraig Brady, 2009/10/20
* Re: [PATCH] md5: accepts a new --threads option, Jim Meyering, 2009/10/21
* Re: [PATCH] md5: accepts a new --threads option, Pádraig Brady, 2009/10/21
* Re: [PATCH] md5: accepts a new --threads option, Jim Meyering, 2009/10/21
* Re: [PATCH] md5: accepts a new --threads option, Pádraig Brady, 2009/10/21
* Re: [PATCH] md5: accepts a new --threads option, Jim Meyering, 2009/10/21
* Re: [PATCH] md5: accepts a new --threads option, Pádraig Brady, 2009/10/21
* RE: [PATCH] md5: accepts a new --threads option, Voelker, Bernhard, 2009/10/21
- Prev by Date:Re: [PATCH] md5: accepts a new --threads option
- Next by Date:Re: [PATCH] md5: accepts a new --threads option
- Previous by thread:Re: [PATCH] md5: accepts a new --threads option
- Next by thread:Re: [PATCH] md5: accepts a new --threads option
- Index(es):