* [ANNOUNCEMENT] Updated: setup.exe (Release 2.871)
@ 2015-05-29 15:10 Corinna Vinschen
2015-05-30 7:00 ` Steven Penny
0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2015-05-29 15:10 UTC (permalink / raw)
To: cygwin
Hi folks,
A new version of Setup, release 2.871, has been uploaded to
https://cygwin.com/setup-x86.exe (32 bit version)
https://cygwin.com/setup-x86_64.exe (64 bit version)
Changes compared to 2.870:
- Improved performance in terms of SHA512 checksum computation.
- Add a "Retry" button to the "File in use" dialog.
- Avoid truncation of "Bin?" and "Src? columns in package chooser.
- Various under-the-hood optimizations of log output.
Please send bug reports, as usual, to the public mailing list
cygwin AT cygwin DOT com.
Have fun,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.871)
2015-05-29 15:10 [ANNOUNCEMENT] Updated: setup.exe (Release 2.871) Corinna Vinschen
@ 2015-05-30 7:00 ` Steven Penny
2015-05-31 10:46 ` Corinna Vinschen
0 siblings, 1 reply; 4+ messages in thread
From: Steven Penny @ 2015-05-30 7:00 UTC (permalink / raw)
To: cygwin
On Fri, May 29, 2015 at 8:51 AM, Corinna Vinschen wrote:
> - Improved performance in terms of SHA512 checksum computation.
Thanks for this, but how was it done?
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.871)
2015-05-30 7:00 ` Steven Penny
@ 2015-05-31 10:46 ` Corinna Vinschen
2015-06-01 20:05 ` Warren Young
0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2015-05-31 10:46 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
On May 29 17:49, Steven Penny wrote:
> On Fri, May 29, 2015 at 8:51 AM, Corinna Vinschen wrote:
> > - Improved performance in terms of SHA512 checksum computation.
>
> Thanks for this, but how was it done?
It was embarrassingly simple:
https://sourceware.org/git/gitweb.cgi?p=cygwin-setup.git;a=blobdiff;f=install.cc;h=715d5fe2d12f9e9b7216b7fcbe09f7cd3758123f;hp=aa7c2e91a050ac0e41d59bd2241000da7aaa1456;hb=8648b05caf47865394d76822dea7b37e5cc1282e;hpb=0c7564874d74ecbf410edb7165a26595f53a03f5
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ANNOUNCEMENT] Updated: setup.exe (Release 2.871)
2015-05-31 10:46 ` Corinna Vinschen
@ 2015-06-01 20:05 ` Warren Young
0 siblings, 0 replies; 4+ messages in thread
From: Warren Young @ 2015-06-01 20:05 UTC (permalink / raw)
To: cygwin
On May 31, 2015, at 4:24 AM, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
>
> On May 29 17:49, Steven Penny wrote:
>> On Fri, May 29, 2015 at 8:51 AM, Corinna Vinschen wrote:
>>> - Improved performance in terms of SHA512 checksum computation.
>>
>> Thanks for this, but how was it done?
>
> It was embarrassingly simple:
That reminds me of a case I ran into a few months ago.
I have some UDP stream reception code that works perfectly on Linux. Someone wanted it on Windows, too, so I ported it in an afternoon, a relatively easy task since Winsock is mostly a superset of BSD sockets, and there wasn’t much to the app besides Standard C++ and sockets code.
It worked fine on my machine, so I shipped it off, confident that it would work just as well as the Linux version.
Then I start getting field reports about dropped packets whenever the machine wasn’t perfectly idle while running the app.
This is not a high data rate application. With the 8 kiB buffers I was using — a perfectly sensible size for UDP — it would take about 3 ms to overflow a buffer. That’s approximately forever in CPU time, so I felt it was more than adequate, even considering multitasking overheads.
In the end, I had to increase the UDP stack buffers for the Windows port to 64 kiB to get it to work reliably on Windows, which effectively increased the buffer time to ~23 ms.
That means the time-slice delay was somewhere between 3 and 22 ms! That’s on the scale of HDD head seek times, one of the slowest things a computer does!
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-01 20:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-29 15:10 [ANNOUNCEMENT] Updated: setup.exe (Release 2.871) Corinna Vinschen
2015-05-30 7:00 ` Steven Penny
2015-05-31 10:46 ` Corinna Vinschen
2015-06-01 20:05 ` Warren Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).