The "cut" binary that comes with openSUSE-12.1 is much slower than the "cut" I get by building from the coreutils srcpackage files that are from the openSUSE-12.1 repository. i | coreutils | package | 8.14-3.1.2 | x86_64 | openSUSE-12.1-Oss i | coreutils | package | 8.14-3.1.2 | x86_64 | openSUSE-12.1-12.1-1.4 | coreutils | srcpackage | 8.14-3.1.2 | noarch | openSUSE-12.1-Source The difference in performance is erased by setting LANG=C (the default is en_US.UTF-8), which change makes the installed binary much faster but doesn't change the built-from-source binary performance. See examples below. "uniq" seems to be in the same boat as as "cut". Is it a known issue that building from source lets the CPU safely take advantage of short-cuts to make things faster even under UTF-8 that a packaged binary cannot? Or perhaps is there a bug in the build-from-source that makes it faster, but somehow unsafe for UTF-8? perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| /usr/bin/time cut -d, -f2 |wc -c 71.93user 1.36system 1:13.58elapsed 99%CPU (0avgtext+0avgdata 3328maxresident)k perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| /usr/bin/time ~/coreutils_suse_source/bin/cut -d, -f2 |wc -c 3.81user 0.85system 0:05.08elapsed 91%CPU (0avgtext+0avgdata 3104maxresident)k perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| LANG=C /usr/bin/time ~/coreutils_suse_source/bin/cut -d, -f2 |wc -c 3.79user 0.89system 0:05.08elapsed 92%CPU (0avgtext+0avgdata 2368maxresident)k perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| LANG=C /usr/bin/time cut -d, -f2 |wc -c 3.68user 0.89system 0:05.00elapsed 91%CPU (0avgtext+0avgdata 2432maxresident)k Cheers, Jeff -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org