delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/28/16:53:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Gary Rowe" <gary AT rowandelle DOT com>
To: cygwin AT cygwin DOT com
Date: Mon, 28 Jan 2008 21:51:51 -0000
MIME-Version: 1.0
Subject: Erratic performance with Cygserver
Reply-to: gary AT rowandelle DOT com
Message-ID: <479E4E77.1546.4E0AFC1@gary.rowandelle.com>
X-mailer: Pegasus Mail for Windows (4.41)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I am helping someone with a system that makes use of the msgsnd and 
msgrcv calls to xfer messages between components using Queues and 
Fifos:

I/O Listener -> Router -> Process Module
I/O Sender <- Router <- Process Module  


The problem is the performance - on a medium-size Unix system (e.g. 4 
CPU HP system) they get 600 messages through the system per second, 
when the Process Module is handling database enquiries.

On a 4 CPU windows system with Cygserver (4 x Intel Xeon 3.2GHz, 
3.5Gb RAM) they are struggling to get even 4-5 messages through the 
system in a second, even with a *dummy* Process Module which does no 
database access, only returning a 'success' message!

We have tested with Cygwin 1.5.24-2 and 1.5.25-5

We have turned off Hyperthreading and disabled the anti-virus from 
scanning the application and cygwin folder structures on the servers, and 
amended cygserver.conf, but are hitting this wall in the performance.

(response msgs can be up to 4096 bytes, I set 

# kern.ipc.msgssz: Size of segment in bytes.  Must be a power of 2 value.
# Default: 8, Min: 8, Max: 1024
kern.ipc.msgssz 256

# kern.ipc.msgmnb: Maximum no. of bytes in a single message queue.
# Default: 2048, Min: 1, Max: 65535
kern.ipc.msgmnb 65535)

I cannot see how to enable any kind of performance monitoring in 
Cygserver, and through the debug in their system I see that the responses 
from Cygserver can have significant delays at times, but I can't see any 
pattern to the delays.

Please can anyone suggest what to look into to track down where the 
problem may be, and what diagnostics / debug could help me?  I cannot 
find any discussions on problems with Cygserver performance on the net, 
so I have to assume it is a problem with their setup ... but it's happening on 
their two test servers, and also on site!

Gary
___________________________________________________
Gary Rowe, Dublin, Ireland	
www.rowandelle.com



--
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/

- Raw text -


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