delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/11/11:13:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <000501c04bfa$32de23a0$1f350a3e@papo>
From: "Antonio Tringali" <antonio DOT tringali AT tiscalinet DOT it>
To: <cygwin AT sources DOT redhat DOT com>
Subject: Low performance on select().
Date: Sat, 11 Nov 2000 17:12:29 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

 Hi everybody,
I have a server and a client that I'm using to test socket performance on
Cygwin; the former uses the select() system call to poll open socket file
descriptors.
 When used under Cygwin on Windows 2000, CPU usage rapidly jumps up to 100%
and the system bogs down on growing the number of clients connected.
 The same client/server test on Linux is almost two orders of magnitude more
efficient, CPU reaches 100% when the server is concurrently answering to 50
test clients.
 Another strange thing is that after opening more than 32 socket file
descriptor the server freezes.
 The question is: are these two facts true, i.e. is select() on Win2K so
inefficient, and is 32 open file descriptors a hard limit?
 Thanks in advance for your answer.

Antonio Tringali


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019