www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/06/05/15:13:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
d=gmail.com; s=beta;
h=domainkey-signature:received:received:message-id:from:to:references:in-reply-to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole;
b=JEuEp5R7DcTax+yDxqqqkIKdl+LZI0csbUTvLgNdsiad0beaLfMJIatEwPk0nhNL/EDlvAzo6qsqGaYygMUzjtqMn2nJsGAJU0VZdT1sZiAu/539nagvrI/m5V591tTkNimgeEGEylUg6fNFwQO1SUa2HvyuT9/j3aPiaEIpgvw=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=beta;
h=received:message-id:from:to:references:in-reply-to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole;
b=skT9nbswX3+DcvieOEYnHzSb5t+Ys/xiwTSdYcdURotRRYUr6TUst4h1YDk4tzLyZDTrd5Yd7KrdTHb9/FhWLh/PHhQUbgkc/Zo9kQA1JR46942ecrjqlX4nDEp15W9HYN9M+aRPixxaDvuCv/lWDDryfyjtErPJJkFWuIl1IbI=
Message-ID: <8711C7C7066945428BE51843989DD9AA@KAIN>
From: "Matt" <strstream AT gmail DOT com>
To: <djgpp AT delorie DOT com>
References: <c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com> <0J6dnRrMmr87__jbnZ2dnUVZ_sSmnZ2d AT comcast DOT com> <c0f385290706050646w4d1a167ewb79a25763f47aa6c AT mail DOT gmail DOT com>
In-Reply-To: <c0f385290706050646w4d1a167ewb79a25763f47aa6c@mail.gmail.com>
Subject: Re: Suddenly really slow start up for djgpp gcc
Date: Tue, 5 Jun 2007 14:44:31 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6000.16386
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_003C_01C7A780.06A900A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Could this be the problem?
http://support.microsoft.com/kb/320694/en-us
Not sure if that pertains to command line programs.

Also maybe this might help
http://support.microsoft.com/kb/142565/en-us

It's also possible that windows is just being windows... NTVDM is the =
16-bit emulator. It has many  issues on XP.
  ----- Original Message -----=20
  From: A T=20
  To: djgpp AT delorie DOT com=20
  Sent: Tuesday, June 05, 2007 9:46 AM
  Subject: Re: Suddenly really slow start up for djgpp gcc


  512mb of RAM.
  Antivirus running in the background but not with an active search
  Tried the task manager, 90% of the time its System Idle Process that =
has atleast 60 % CPU time. Near the end ntvdm.exe gets almost all cpu =
power=20
  hope this helps

  / Alexander


  On 6/5/07, Alexei A. Frounze <alexfru AT chat DOT ru> wrote:
    How much RAM is there?
    Are there any utilities like antivirus running at that moment and =
checking files?

    Can you reproduce this with the task manager open and applications =
sorted by the CPU time? Can you find from there what application =
consumes most of the CPU time while gcc is trying to start up?

    Alex
      "A T" <bvs DOT spam AT gmail DOT com> wrote in message =
news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com ...
      hi,

      Im using the djgpp gcc for preprocessing c files before I load =
them to my parser. This usually works great but suddenly it takes along =
time before=20
      something happens after I issue the command.=20
      If I run gcc -E -P file.c from the cmd.exe it takes at least 40 =
seconds before the output from gcc prints to the screen. Last week this =
was instantaneous.
      It only happens for the first file I try to run. Same thing when I =
try to run go32-v2.exe. First time really snow, after that =
instantaneous.
      Any ideas of what is wrong?

      go32 gives me this output:
      go32/v2 version 2.0 built Dec 24 2001 21:25:02
      Usage: go32 coff-image [args]
      Rename this to go32.exe only if you need a go32 that can run v2 =
binaries as
       well as v1 binaries (old makefiles).  Put ahead of the old go32 =
in your PATH
       but do not delete your old go32 - leave it in the PATH after this =
one.
      Set GO32_V2_DEBUG=3Dy in the environment to get verbose output.

      DPMI memory available: 112219 Kb
      DPMI swap space available: 0 Kb


      and this is my environment settings:

      ALLUSERSPROFILE=3DC:\Documents and Settings\All Users
      APPDATA=3DC:\Documents and Settings\23054161\Application Data
      Classpath=3DC:\home\exjobb\project\externaltools;.
      =
CLEARCASE_GROUPS=3DCORPUSERS\SG-SELD-SEM-CME-G;CORPUSERS\SG-SELD-SEM-CME-=
INT-G
      CME2_JRE=3DC:\PROGRA~1\SONYER~1\CME\JRE15~1.0_0
      CME2_ROOT=3DC:\Program Files\Sony Ericsson\CME
      CommonProgramFiles=3DC:\Program Files\Common Files
      COMPUTERNAME=3DSELDW2541
      ComSpec=3Dc:\cygwin\cygwin.bat
      DEFLOGDIR=3DC:\Documents and Settings\All Users\Application =
Data\McAfee\DesktopProtection
      DJGPP=3Dc:\djgpp\djgpp.env
      FP_NO_HOST_CHECK=3DNO
      HOMEDRIVE=3DC:
      HOMEPATH=3D\Documents and Settings\23054161
      HOMESHARE=3D\\Seldfil04\User27$
      JAVA_HOME=3DC:\Program Files\Java\jdk1.6.0_01
      LOGONSERVER=3D\\SELDDCC02
      NUMBER_OF_PROCESSORS=3D1
      OS=3DWindows_NT
      =
Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program=
 Files\Rational\ClearCase\bin;C:\Program =
Files\Rational\common;C:\PROGRA~1\SONYER~1\sde\bin;C:\PROGRA~1\SONYER~1\s=
de\extra;C:\Program Files\Ant\apache-ant-1.7.0\bin;C:\Program =
Files\Java\jdk1.6.0_01\bin;c:\djgpp\bin;
      PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
      PROCESSOR_ARCHITECTURE=3Dx86
      PROCESSOR_IDENTIFIER=3Dx86 Family 15 Model 2 Stepping 9, =
GenuineIntel
      PROCESSOR_LEVEL=3D15
      PROCESSOR_REVISION=3D0209
      ProgramFiles=3DC:\Program Files
      PROMPT=3D$P$G
      SESSIONNAME=3DConsole
      SystemDrive=3DC:
      SystemRoot=3DC:\WINDOWS
      TEMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp
      TMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp
      USERDNSDOMAIN=3D CORPUSERS.NET
      USERDOMAIN=3DCORPUSERS
      USERNAME=3D23054161
      USERPROFILE=3DC:\Documents and Settings\23054161
      VSEDEFLOGDIR=3DC:\Documents and Settings\All Users\Application =
Data\McAfee\DesktopProtection
      windir=3DC:\WINDOWS


      / Alexander Thurban


------=_NextPart_000_003C_01C7A780.06A900A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16448" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Could this be the problem?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://support.microsoft.com/kb/320694/en-us">http://support.micr=
osoft.com/kb/320694/en-us</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Not sure if that pertains to command =
line=20
programs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Also maybe this might help</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://support.microsoft.com/kb/142565/en-us">http://support.micr=
osoft.com/kb/142565/en-us</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It's also possible that windows is just =
being=20
windows... NTVDM is the 16-bit emulator. It has&nbsp;many&nbsp; issues =
on=20
XP.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbvs DOT spam AT gmail DOT com href=3D"mailto:bvs DOT spam AT gmail DOT com">A =
T</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Ddjgpp AT delorie DOT com=20
  href=3D"mailto:djgpp AT delorie DOT com">djgpp AT delorie DOT com</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, June 05, 2007 =
9:46=20
AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Suddenly really =
slow start=20
  up for djgpp gcc</DIV>
  <DIV><BR></DIV>512mb of RAM.<BR>Antivirus running in the background =
but not=20
  with an active search<BR>Tried the task manager, 90% of the time its =
System=20
  Idle Process that has atleast 60 % CPU time. Near the end ntvdm.exe =
gets=20
  almost all cpu power <BR>hope this helps<BR><BR>/ Alexander<BR><BR>
  <DIV><SPAN class=3Dgmail_quote>On 6/5/07, <B =
class=3Dgmail_sendername>Alexei A.=20
  Frounze</B> &lt;<A =
href=3D"mailto:alexfru AT chat DOT ru">alexfru AT chat DOT ru</A>&gt;=20
  wrote:</SPAN>
  <BLOCKQUOTE class=3Dgmail_quote=20
  style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: =
rgb(204,204,204) 1px solid">
    <DIV bgcolor=3D"#ffffff">
    <DIV><FONT face=3DArial size=3D2>How much RAM is there?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Are there any utilities like =
antivirus running=20
    at that moment and checking files?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Can you reproduce this with the =
task manager=20
    open and applications sorted by the CPU time? Can you find from =
there what=20
    application consumes most of the CPU time while gcc is trying to =
start=20
    up?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Alex</FONT></DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV>"A T" &lt;<A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
      href=3D"mailto:bvs DOT spam AT gmail DOT com" =
target=3D_blank>bvs DOT spam AT gmail DOT com</A>&gt;=20
      wrote in message <A onclick=3D"return =
top.js.OpenExtLink(window,event,this)"=20
      =
href=3D"news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gmail DOT com"=
=20
      =
target=3D_blank>news:c0f385290706050414k43c3cf2cj9c195711d265c816 AT mail DOT gm=
ail.com=20
      </A>...</DIV>
      <DIV><SPAN class=3De id=3Dq_112fc1870f02d3f4_1>
      <DIV><SPAN><FONT face=3DArial size=3D2>hi,</FONT></SPAN></DIV>
      <DIV><SPAN></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>Im using the djgpp gcc for=20
      preprocessing c files before I load them to my parser. This =
usually works=20
      great but suddenly it takes along time before </FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>something happens after I =
issue the=20
      command. </FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>If I run gcc -E -P file.c =
from the=20
      cmd.exe it takes at least 40 seconds before the output from gcc =
prints to=20
      the screen. Last week this was instantaneous.</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>It only happens for the =
first file I=20
      try to run. Same thing when I try to run go32-v2.exe. First time =
really=20
      snow, after that instantaneous.</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>Any ideas of what is=20
      wrong?</FONT></SPAN></DIV>
      <DIV><SPAN></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>go32 gives me this=20
      output:</FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>go32/v2 version 2.0 built =
Dec 24 2001=20
      21:25:02<BR>Usage: go32 coff-image [args]<BR>Rename this to =
go32.exe only=20
      if you need a go32 that can run v2 binaries as<BR>&nbsp;well as v1 =

      binaries (old makefiles).&nbsp; Put ahead of the old go32 in your=20
      PATH<BR>&nbsp;but do not delete your old go32 - leave it in the =
PATH after=20
      this one.<BR>Set GO32_V2_DEBUG=3Dy in the environment to get =
verbose=20
      output.</FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>DPMI memory available: =
112219=20
      Kb<BR>DPMI swap space available: 0 Kb<BR></FONT></SPAN></DIV>
      <DIV><SPAN></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>and this is my environment=20
      settings:<BR></FONT></SPAN></DIV>
      <DIV><SPAN><FONT face=3DArial =
size=3D2>ALLUSERSPROFILE=3DC:\Documents and=20
      Settings\All Users<BR>APPDATA=3DC:\Documents and=20
      Settings\23054161\Application=20
      =
Data<BR>Classpath=3DC:\home\exjobb\project\externaltools;.<BR>CLEARCASE_G=
ROUPS=3DCORPUSERS\SG-SELD-SEM-CME-G;CORPUSERS\SG-SELD-SEM-CME-INT-G<BR>CM=
E2_JRE=3DC:\PROGRA~1\SONYER~1\CME\JRE15~1.0_0<BR>CME2_ROOT=3DC:\Program=20
      Files\Sony Ericsson\CME<BR>CommonProgramFiles=3DC:\Program =
Files\Common=20
      =
Files<BR>COMPUTERNAME=3DSELDW2541<BR>ComSpec=3Dc:\cygwin\cygwin.bat<BR>DE=
FLOGDIR=3DC:\Documents=20
      and Settings\All Users\Application=20
      =
Data\McAfee\DesktopProtection<BR>DJGPP=3Dc:\djgpp\djgpp.env<BR>FP_NO_HOST=
_CHECK=3DNO<BR>HOMEDRIVE=3DC:<BR>HOMEPATH=3D\Documents=20
      and=20
      =
Settings\23054161<BR>HOMESHARE=3D\\Seldfil04\User27$<BR>JAVA_HOME=3DC:\Pr=
ogram=20
      =
Files\Java\jdk1.6.0_01<BR>LOGONSERVER=3D\\SELDDCC02<BR>NUMBER_OF_PROCESSO=
RS=3D1<BR>OS=3DWindows_NT<BR>Path=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WIN=
DOWS\System32\Wbem;C:\Program=20
      Files\Rational\ClearCase\bin;C:\Program=20
      =
Files\Rational\common;C:\PROGRA~1\SONYER~1\sde\bin;C:\PROGRA~1\SONYER~1\s=
de\extra;C:\Program=20
      Files\Ant\apache-ant-1.7.0\bin;C:\Program=20
      =
Files\Java\jdk1.6.0_01\bin;c:\djgpp\bin;<BR>PATHEXT=3D.COM;.EXE;.BAT;.CMD=
;.VBS;.VBE;.JS;.JSE;.WSF;.WSH<BR>PROCESSOR_ARCHITECTURE=3Dx86<BR>PROCESSO=
R_IDENTIFIER=3Dx86=20
      Family 15 Model 2 Stepping 9,=20
      =
GenuineIntel<BR>PROCESSOR_LEVEL=3D15<BR>PROCESSOR_REVISION=3D0209<BR>Prog=
ramFiles=3DC:\Program=20
      =
Files<BR>PROMPT=3D$P$G<BR>SESSIONNAME=3DConsole<BR>SystemDrive=3DC:<BR>Sy=
stemRoot=3DC:\WINDOWS<BR>TEMP=3DC:\DOCUME~1\23054161\LOCALS~1\Temp<BR>TMP=
=3DC:\DOCUME~1\23054161\LOCALS~1\Temp<BR>USERDNSDOMAIN=3D<A=20
      onclick=3D"return top.js.OpenExtLink(window,event,this)"=20
      href=3D"http://CORPUSERS.NET" target=3D_blank>=20
      =
CORPUSERS.NET</A><BR>USERDOMAIN=3DCORPUSERS<BR>USERNAME=3D23054161<BR>USE=
RPROFILE=3DC:\Documents=20
      and Settings\23054161<BR>VSEDEFLOGDIR=3DC:\Documents and =
Settings\All=20
      Users\Application=20
      =
Data\McAfee\DesktopProtection<BR>windir=3DC:\WINDOWS<BR></FONT></SPAN></D=
IV>
      <DIV><SPAN></SPAN>&nbsp;</DIV>
      <DIV><SPAN><FONT face=3DArial size=3D2>/ Alexander=20
      =
Thurban</FONT></SPAN></DIV></SPAN></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE><=
/DIV><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_003C_01C7A780.06A900A0--

- Raw text -


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