This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: cygwin/x symantec antivirus conflict


On Wed, Oct 06, 2004 at 10:36:22PM -0400, Philip Gladstone wrote:
>Alexander Gottwald wrote:
>>Jack Tanner wrote:
>>>A while back I mentioned I was experiencing slowdowns under X.
>>>http://sources.redhat.com/ml/cygwin-xfree/2004-09/msg00010.html
>>>
>>>I think the slowdowns may have to do with Symantec Antivirus.
>>>
>The slowness that I see with Symantec Antivirus is due to the 'select'
>emulation in cygwin. Whenever XWin.exe does a select (which is nearly
>all the time), the select emulation creates a new thread, creates a new
>TCP socket and then connects to it. I suspect that the Symantec firewall
>is getting in the picture here and making this a very slow operation.

Cygwin should not be actually creating threads in this scenario.  It
should be reusing thread from a thread pool.

If there are a lot of sockets being waited on (which doesn't seem to
be the case here) then the pool could be exhausted and new threads could
be created.  If that was the issue then we could bump up the size of
the thread pool.
--
Christopher Faylor			spammer? ->	aaaspam@sourceware.org
Cygwin Co-Project Leader				aaaspam@duffek.com
TimeSys, Inc.


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