Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 6 Sep 2001 23:57:25 -0300
From: horape@tinuviel.compendium.net.ar
To: Tim Prince <tprince@computer.org>
Cc: cygwin@cygwin.com
Subject: Re: too low cpu usage
Message-ID: <20010906235725.A2379@tinuviel.compendium.net.ar>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <004d01c13746$79d9f490$9166323f@amr.corp.intel.com>
User-Agent: Mutt/1.3.18i
x-attribution: HoraPe
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id WAA08815

Thanks, that's the problem. I'd overlooked that the box i was working on had
SMP and even with that i believed that i'd see a 100% on both my program and
the idle process and something noting that were running on different CPUs.

Thanks,
				HoraPe


On Thu, Sep 06, 2001 at 07:40:34PM -0700, Tim Prince wrote:
> If you're running non-threaded applications on 2 processors, this
> is the expected result.
> ----- Original Message -----
> From: <horape@tinuviel.compendium.net.ar>
> To: <cygwin@cygwin.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@IVC ~
> $ uname -a
> CYGWIN_NT-5.0 IVC 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown
> 
> Administrator@IVC ~
> $ cat a.c
> main()
> {
> while(1);
> }
> 
> Administrator@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@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@compendium.com.ar
> horape@uninet.edu
> bofh@puntoar.net.ar
> horape@hcdn.gov.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/
> 

-- 
					HoraPe
---
Horacio J. Peņa
horape@compendium.com.ar
horape@uninet.edu
bofh@puntoar.net.ar
horape@hcdn.gov.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/

