xref: /aosp_15_r20/external/ltp/runtest/ipc (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#DESCRIPTION:Interprocess communication stress
2*49cdfc7eSAndroid Build Coastguard Worker# These tests use tests/pipeio to put pipes (named or unnamed) through a workout
3*49cdfc7eSAndroid Build Coastguard Worker#
4*49cdfc7eSAndroid Build Coastguard Workerpipeio_1 pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80
5*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
6*49cdfc7eSAndroid Build Coastguard Worker# using blocking I/O
7*49cdfc7eSAndroid Build Coastguard Worker#pipeio_2 pipeio -T pipeio_2 -c 5 -s 4090 -i 100 -f x80
8*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
9*49cdfc7eSAndroid Build Coastguard Worker# using non-blocking I/O
10*49cdfc7eSAndroid Build Coastguard Worker# This test hits EAGAIN, which pipeio doesn't handle at the moment
11*49cdfc7eSAndroid Build Coastguard Workerpipeio_3 pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80
12*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
13*49cdfc7eSAndroid Build Coastguard Worker# using blocking I/O
14*49cdfc7eSAndroid Build Coastguard Workerpipeio_4 pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80
15*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
16*49cdfc7eSAndroid Build Coastguard Worker# using non-blocking I/O
17*49cdfc7eSAndroid Build Coastguard Workerpipeio_5 pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80
18*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
19*49cdfc7eSAndroid Build Coastguard Worker# using blocking I/O
20*49cdfc7eSAndroid Build Coastguard Workerpipeio_6 pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80
21*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
22*49cdfc7eSAndroid Build Coastguard Worker# using blocking I/O
23*49cdfc7eSAndroid Build Coastguard Worker#pipeio_7 pipeio -T pipeio_7 -c 5 -s 5000 -i 10 -f x80
24*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
25*49cdfc7eSAndroid Build Coastguard Worker# using non-blocking I/O
26*49cdfc7eSAndroid Build Coastguard Worker# This test hits EAGAIN, which pipeio doesn't handle at the moment
27*49cdfc7eSAndroid Build Coastguard Workerpipeio_8 pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80
28*49cdfc7eSAndroid Build Coastguard Worker# spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
29*49cdfc7eSAndroid Build Coastguard Worker# using non-blocking I/O
30*49cdfc7eSAndroid Build Coastguard Worker
31