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]

Re: How cygwin realize posix pipe?


Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp> writes:

> Hello
>
> I have involved in the octave project.
> Octave uses gnuplot as a graphic backend and data are sent and recieved via pipe.
>
> A report of slowness issue of the plot on octave on windows reported.

So one of your program is native and the other cygwin.

It's like a similar issue I met when using native Emacs+Gnus and cygwin
programs (openssl client) to read imap mails, it is very slow.

I guess it was a pipe size issue, for old DOS compatibility, the pipe
buffer is 64K, and if I check the i/o rate of openssl with Procexp, I
can see something like 64K.

This is a very wild guess though. First I see sth. in Procexp to be
about 64K, then I googled with "windows pipe 64k". Maybe you can try
tweak the pipe buffer size.

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


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