On Thu, Sep 20, 2012 at 10:54 AM, Susanne Oberhauser
I completely agree with Linda, that a less intrusive work-around for the sometimes broken multi-core feature of sort(1) had been an environment variable, that for suse, if unset, is assumed to be 1.
Well, yes. That would seem is what the patch does, although a further test suggests it's not: python -c 'for i in xrange(10000000): print "\n".join([str(i)]*10)' | OMP_MAX_THREADS=4 sort > /dev/null That command line will stress sort, yet it will not seem to use multiple threads. However, python -c 'for i in xrange(10000000): print "\n".join([str(i)]*10)' | sort --parallel=4 > /dev/null this works like a charm. Maybe I used the wrong environment variable (strings /usr/bin/sort doesn't show it). Or maybe a better patch is in order. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org