delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/06/22:41:54

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: <004d01c13746$79d9f490$9166323f@amr.corp.intel.com>
From: "Tim Prince" <tprince AT computer DOT org>
To: <horape AT tinuviel DOT compendium DOT net DOT ar>, <cygwin AT cygwin DOT com>
References: <20010906211555 DOT B28067 AT tinuviel DOT compendium DOT net DOT ar>
Subject: Re: too low cpu usage
Date: Thu, 6 Sep 2001 19:40:34 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

If you're running non-threaded applications on 2 processors, this
is the expected result.
----- Original Message -----
From: <horape AT tinuviel DOT compendium DOT net DOT ar>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, September 06, 2001 5:15 PM
Subject: too low cpu usage


Hola!

I've just installed cygwin for a development that i need to do in
windows
and cannot get my programs to use more than 50% of CPU time.

Administrator AT IVC ~
$ uname -a
CYGWIN_NT-5.0 IVC 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown

Administrator AT IVC ~
$ cat a.c
main()
{
while(1);
}

Administrator AT IVC ~
$ ./a.exe

and in the task manager it gets:

image name         CPU
a.exe               50
System Idle Proc    50

(rest of the processes are at 0)

Administrator AT IVC ~
$ ulimit -a
core file size (blocks)     bash: ulimit: cannot get limit:
Invalid argument
data seg size (kbytes)      bash: ulimit: cannot get limit:
Invalid argument
file size (blocks)          bash: ulimit: cannot get limit:
Invalid argument
open files                  bash: ulimit: cannot get limit:
Invalid argument
pipe size (512 bytes)       26
stack size (kbytes)         bash: ulimit: cannot get limit:
Invalid argument
cpu time (seconds)          bash: ulimit: cannot get limit:
Invalid argument
max user processes          63

Some help? I need to run some CPU intensive processes and I don't
like the
idea of having to get a box twice as fast to do the some work...

Thanks in advance,
HoraPe
---
Horacio J. Peña
horape AT compendium DOT com DOT ar
horape AT uninet DOT edu
bofh AT puntoar DOT net DOT ar
horape AT hcdn DOT gov DOT ar

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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