robbiew | 1f25453 | 2003-03-28 22:07:58 +0000 | [diff] [blame] | 1 | #DESCRIPTION:IPC pipes stress |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 2 | # These tests use tests/pipeio to put pipes (named or unnamed) through a workout |
| 3 | # |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 4 | pipeio_1 pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 5 | # spawns 5 children to write 100 chunks of 4090 bytes to a named pipe |
| 6 | # using blocking I/O |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 7 | #pipeio_2 pipeio -T pipeio_2 -c 5 -s 4090 -i 100 -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 8 | # spawns 5 children to write 100 chunks of 4090 bytes to a named pipe |
| 9 | # using non-blocking I/O |
| 10 | # This test hits EAGAIN, which pipeio doesn't handle at the moment |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 11 | pipeio_3 pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 12 | # spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe |
| 13 | # using blocking I/O |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 14 | pipeio_4 pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 15 | # spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe |
| 16 | # using non-blocking I/O |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 17 | pipeio_5 pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 18 | # spawns 5 children to write 10 chunks of 5000 bytes to a named pipe |
| 19 | # using blocking I/O |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 20 | pipeio_6 pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 21 | # spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe |
| 22 | # using blocking I/O |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 23 | #pipeio_7 pipeio -T pipeio_7 -c 5 -s 5000 -i 10 -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 24 | # spawns 5 children to write 10 chunks of 5000 bytes to a named pipe |
| 25 | # using non-blocking I/O |
| 26 | # This test hits EAGAIN, which pipeio doesn't handle at the moment |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 27 | pipeio_8 pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80 |
nstraz | 15fa095 | 2000-11-16 17:35:59 +0000 | [diff] [blame] | 28 | # spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe |
| 29 | # using non-blocking I/O |