Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 6 Sep 2001 23:57:25 -0300 From: horape AT tinuviel DOT compendium DOT net DOT ar To: Tim Prince Cc: cygwin AT cygwin DOT 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: > To: > 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/ > -- 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/