Bug 21242 - I guess fcntl F_SETPIPE_SZ doesn't work quite right
Summary: I guess fcntl F_SETPIPE_SZ doesn't work quite right
Status: RESOLVED OBSOLETE
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 09:21 UTC by asl.pavel
Modified: 2013-12-10 22:23 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.36
Subsystem:
Regression: No
Bisected commit-id:


Attachments
screept itself (17.69 KB, text/x-python)
2010-10-27 09:21 UTC, asl.pavel
Details
call stack (7.29 KB, text/plain)
2010-10-27 09:22 UTC, asl.pavel
Details

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

Note You need to log in before you can comment on or make changes to this bug.