Re: strange differencies: find -exec \+ vs find | xargs

2011-08-01 Thread Vadim Goncharov
Hi dennis berger! On Wed, 15 Jun 2011 13:14:32 +0200; dennis berger wrote about 'Re: strange differencies: find -exec \+ vs find | xargs': > Am 15.06.2011 um 12:33 schrieb Vadim Goncharov: >> Hi, >> >> There was a flamewar in a local maillist about the fastes

Re: strange differencies: find -exec \+ vs find | xargs

2011-06-15 Thread dennis berger
Dear, I suspect that you're hitting a cache limit for that machine. I had similar behaviour when rsyncing huge directories. I usually raise vfs.ufs.dirhash_maxmem sysctl variable, which solves the problem. best, -dennis Am 15.06.2011 um 12:33 schrieb Vadim Goncharov: > Hi, > > There was a fl

strange differencies: find -exec \+ vs find | xargs

2011-06-15 Thread Vadim Goncharov
Hi, There was a flamewar in a local maillist about the fastest way to do chmod 644 on files and chmod 755 on directories in a sbubtree. It suddenly revealed the strange thing: on the same subtree, find -type d -exec \+ on 76000 directories has the same as find | xargs, but on 246000 files it was 4