This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

higher-level IO very slow with cygwin1.dll 5.10 (due to set_flags?)


Please help with a problem I have had since
upgrading to latest Cygwin DLL. When I do
IO using fopen it is many times slower now
than IO using simple open. Also programs
like sort and cut have very slow IO access
times. This behavior is not seen when I
compile my own programs with the -mno-cygwin
option in GCC. A trace of the program execution
shows that large delays seem to occur with
system calls labeled "set_flags". I attach
an example program with comments showing the
relevant timings and trace excerpts. Also
I attach output of cygcheck for my system,
in compliance with request on website. Thanks
for any help. -- Joseph Rosenzweig

Attachment: iotest.c
Description: Binary data

Attachment: cygcheckout
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]