Bug 21242

Summary: I guess fcntl F_SETPIPE_SZ doesn't work quite right
Product: File System Reporter: asl.pavel
Component: OtherAssignee: fs_other
Status: RESOLVED OBSOLETE    
Severity: normal CC: alan, asl.pavel
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.36 Subsystem:
Regression: No Bisected commit-id:
Attachments: screept itself
call stack

Description asl.pavel 2010-10-27 09:21:54 UTC
Created attachment 35182 [details]
screept itself

I've been trying to write script (see speed.py) that shows ammount of data transmitted in pipe, and decided to toy with new fcntl F_SETPIPE_SZ. I've tried to run it on 2 machines with the same result (see call_stack.txt).

cat /dev/random | python3 ./speed.py > /dev/null
Comment 1 asl.pavel 2010-10-27 09:22:28 UTC
Created attachment 35192 [details]
call stack
Comment 2 asl.pavel 2010-10-27 09:24:35 UTC
Forget to tell that system is Arch Linux:
uname -a
Linux maggot 2.6.36-ARCH #1 SMP PREEMPT Mon Oct 25 20:55:28 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux