|
| Java problems with Dual Core and SMP |
 |
Mon, 04 Sep 2006 14:41:55 +000 |
Hello All;
I just noticed that Projectx crashes with the below message in
'popuplog.os2' when run with 'os2apic.psd' in SMP mode.
If I switch back to the ACPI package and run in single processor mode,
Projectx will complete without crashing. Note, the ACPI package will not
let me boot in SMP mode.
Does anyone know if there are any switches that can be used with
'os2apic.psd' or any Docs about the SMP package?
Is there a switch that can be used to make a program run in single
processor mode from an SMP enabled machine?
Thanks for any help in advance.
09-04-2006 14:25:25 SYS3190 PID 0057 TID 0002 Slot 00b4
C:\PROGRAMS\JAVA142\BIN\JAVA.EXE
c000001d
205e10da
EAX=000010e0 EBX=00000000 ECX=235a2a40 EDX=00000000
ESI=040b139a EDI=00000000
DS=0053 DSACC=f0f3 DSLIM=ffffffff
ES=0053 ESACC=f0f3 ESLIM=ffffffff
FS=150b FSACC=00f3 FSLIM=00000030
GS=0000 GSACC=**** GSLIM=********
CS:EIP=005b:205e10da CSACC=f0df CSLIM=ffffffff
SS:ESP=0053:0120f7ec SSACC=f0f3 SSLIM=ffffffff
EBP=0120f87c FLG=00010212
|
| Post Reply
|
| Re: Java problems with Dual Core and SMP |
 |
Wed, 06 Sep 2006 02:22:29 +000 |
Chuck McKinnis wrote:
>
> From the OS/2 Toolkit:
>
> MARKEXE uses the following syntax:
>
> MARKEXE [/?] [FORCE] [NO] [option] filename...
>
> Filename is a file name or a list of file names. Global file-name
> characters (*.EXE) also can be used. For descriptions of the above
> terms, see Syntax Definitions. If no option is given, DISPLAY is
> assumed.
>
> Typing MARKEXE /? at the command line displays the appropriate copyright
> statement along with a list of options.
>
> DISPLAY - display status of flags
> DLLINIT - per-process initialization
> DLLTERM - per-process termination
> WINDOWAPI - window api (PM application)
> WINDOWCOMPAT - window compatible application
> NOTWINDOWCOMPAT - not window compatible application
> UNSPECIFIED - unspecified application type
> LFNS - long file name support
> MPUNSAFE - multi-processor unsafe application
> SETVERSION - Write 32 bit Module Version Field
>
>
> If you don't have a copy of the toolkit, it is on the eCS CDs (2, I
> believe).
>
Hello Chuck;
I found the program OK, I'm just not quite sure how to use it. Do I
just run it once for each program I want to run in UNI processor mode,
or do I need to make a Rexx file to run each time I want to run it. If I
only have to run it once, is there a way to reverse the changes? I was
thinking of running :
MARKEXE MPUNSAFE JAVA.EXE
Do I need to specify paths?
Thanks for all the help in advance.
|
| Post Reply
|
| Re: Java problems with Dual Core and SMP |
 |
Wed, 06 Sep 2006 03:39:51 GMT |
On Mon, 4 Sep 2006 14:41:55 UTC, Keith Marjerison
<k.marjerisonstopspam@sasktel.net> wrote:
> Hello All;
> I just noticed that Projectx crashes with the below message in
> 'popuplog.os2' when run with 'os2apic.psd' in SMP mode.
> If I switch back to the ACPI package and run in single processor mode,
> Projectx will complete without crashing. Note, the ACPI package will not
> let me boot in SMP mode.
> Does anyone know if there are any switches that can be used with
> 'os2apic.psd' or any Docs about the SMP package?
> Is there a switch that can be used to make a program run in single
> processor mode from an SMP enabled machine?
>
> Thanks for any help in advance.
>
> 09-04-2006 14:25:25 SYS3190 PID 0057 TID 0002 Slot 00b4
> C:\PROGRAMS\JAVA142\BIN\JAVA.EXE
> c000001d
> 205e10da
> EAX=000010e0 EBX=00000000 ECX=235a2a40 EDX=00000000
> ESI=040b139a EDI=00000000
> DS=0053 DSACC=f0f3 DSLIM=ffffffff
> ES=0053 ESACC=f0f3 ESLIM=ffffffff
> FS=150b FSACC=00f3 FSLIM=00000030
> GS=0000 GSACC=**** GSLIM=********
> CS:EIP=005b:205e10da CSACC=f0df CSLIM=ffffffff
> SS:ESP=0053:0120f7ec SSACC=f0f3 SSLIM=ffffffff
> EBP=0120f87c FLG=00010212
>
> INNOWIN.DLL
From the OS/2 Toolkit:
MARKEXE uses the following syntax:
MARKEXE [/?] [FORCE] [NO] [option] filename...
Filename is a file name or a list of file names. Global file-name
characters (*.EXE) also can be used. For descriptions of the above
terms, see Syntax Definitions. If no option is given, DISPLAY is
assumed.
Typing MARKEXE /? at the command line displays the appropriate copyright
statement along with a list of options.
DISPLAY - display status of flags
DLLINIT - per-process initialization
DLLTERM - per-process termination
WINDOWAPI - window api (PM application)
WINDOWCOMPAT - window compatible application
NOTWINDOWCOMPAT - not window compatible application
UNSPECIFIED - unspecified application type
LFNS - long file name support
MPUNSAFE - multi-processor unsafe application
SETVERSION - Write 32 bit Module Version Field
If you don't have a copy of the toolkit, it is on the eCS CDs (2, I
believe).
--
Chuck McKinnis
mckinnis@sandia.net
Covenant Solutions
|
| Post Reply
|
| Re: Java problems with Dual Core and SMP |
 |
Wed, 06 Sep 2006 15:17:27 +000 |
> Hello Chuck;
> I found the program OK, I'm just not quite sure how to use it. Do I
> just run it once for each program I want to run in UNI processor mode,
> or do I need to make a Rexx file to run each time I want to run it. If I
> only have to run it once, is there a way to reverse the changes? I was
> thinking of running :
>
> MARKEXE MPUNSAFE JAVA.EXE
> Do I need to specify paths?
> Thanks for all the help in advance.
>
Hello Again;
I think I figured out what was going wrong. Two copies of Java142,
deleted one copy and ran
markexe force mpunsafe java.exe from the JAVA142 directory.
Now when I run ProjectX it completes without crashing, but I still see
both processors switching from between 8 to 35% CPU use and they are not
identical. Am I still using both processors or is there some other
process running that is using the 2nd CPU.
Never the less, it works now.
|
| Post Reply
|
| Re: Java problems with Dual Core and SMP |
 |
Thu, 07 Sep 2006 22:20:33 GMT |
On Wed, 6 Sep 2006 15:17:27 UTC, Keith Marjerison
<k.marjerisonstopspam@sasktel.net> wrote:
>
> > Hello Chuck;
> > I found the program OK, I'm just not quite sure how to use it. Do I
> > just run it once for each program I want to run in UNI processor
mode,
> > or do I need to make a Rexx file to run each time I want to run it. If
I
> > only have to run it once, is there a way to reverse the changes? I
was
> > thinking of running :
> >
> > MARKEXE MPUNSAFE JAVA.EXE
> > Do I need to specify paths?
> > Thanks for all the help in advance.
> >
MARKEXE is permanent. Any module that you mark will remain that way
until you run MARKEXE again.
> Hello Again;
> I think I figured out what was going wrong. Two copies of Java142,
> deleted one copy and ran
>
> markexe force mpunsafe java.exe from the JAVA142 directory.
> Now when I run ProjectX it completes without crashing, but I still see
> both processors switching from between 8 to 35% CPU use and they are not
> identical. Am I still using both processors or is there some other
> process running that is using the 2nd CPU.
> Never the less, it works now.
> Thanks for the pointers and all of your help.
You may want to try putting JAVA.EXE back to normal now and testing.
The only thing that you restricted is JAVA.EXE itself. If the
application spawns threads, they will run on whatever CPU is available.
--
Chuck McKinnis
mckinnis@sandia.net
Covenant Solutions
|
| Post Reply
|
|
|
|
|
|
|
|
|
|