2015-02-01 13:38:26 +00:00
|
|
|
echo '### Test race condition on 8 CPU (my laptop)'; seq 1 5000000 > /tmp/parallel_test; seq 1 10 | parallel -k "cat /tmp/parallel_test | parallel --pipe --recend '' -k gzip >/dev/null; echo {}"; rm /tmp/parallel_test
|
2013-12-19 01:19:19 +00:00
|
|
|
### Test race condition on 8 CPU (my laptop)
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
4
|
|
|
|
5
|
|
|
|
6
|
|
|
|
7
|
|
|
|
8
|
|
|
|
9
|
|
|
|
10
|
2014-07-15 00:40:38 +00:00
|
|
|
echo '**'
|
2013-12-19 01:19:19 +00:00
|
|
|
**
|
2014-07-15 00:40:38 +00:00
|
|
|
echo "### Test --tmpdir running full. bug #40733 was caused by this"
|
2013-12-19 01:19:19 +00:00
|
|
|
### Test --tmpdir running full. bug #40733 was caused by this
|
2014-07-15 00:40:38 +00:00
|
|
|
stdout parallel -j1 --tmpdir $SHM cat /dev/zero ::: dummy
|
2014-07-31 20:50:33 +00:00
|
|
|
parallel: Error: Output is incomplete. Cannot append to buffer file in /tmp/shm/parallel. Is the disk full?
|
2014-06-23 00:04:37 +00:00
|
|
|
parallel: Error: Change $TMPDIR with --tmpdir or use --compress.
|
2014-07-15 00:40:38 +00:00
|
|
|
echo '**'
|
2013-12-19 01:19:19 +00:00
|
|
|
**
|
2016-07-04 10:55:16 +00:00
|
|
|
echo "### bug #48290: round-robin does not distribute data based on business"
|
|
|
|
### bug #48290: round-robin does not distribute data based on business
|
|
|
|
echo "Jobslot 1 is 8 times slower than jobslot 8 and should get much less data"
|
|
|
|
Jobslot 1 is 8 times slower than jobslot 8 and should get much less data
|
|
|
|
seq 10000000 | parallel --tagstring {%} --linebuffer --compress -j8 --roundrobin --pipe --block 300k 'pv -qL {%}00000'| perl -ne '/^\d+/ and $s{$&}++; END { print map { "$_\n" } sort { $s{$a} <=> $s{$b} } keys %s}'
|
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
|
|
|
5
|
|
|
|
4
|
|
|
|
7
|
|
|
|
6
|
|
|
|
8
|