• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

what kernel relase is required to benefit from loading in highmem

Started by mayhem43, 2009.05.06, 20:54:16

Previous topic - Next topic

mayhem43

i am running the CP2 base 14.086 and think I need to apply a fixpack to get my release above 14.097 (say XR_C005) to benefit from flagging executable to load high??  can anyone shed some light...??!

warpcafe

Hi,

is that the "DOS Loadhigh" you're talking about (for the VDMs, DOS "boxes")?
Or are you referring to a core OS/2-related thing here? In the latter case I seem to remember that there was something in XWorkPlace about it. Perhaps will see if I can find more info on that... hopefully I have XWP on my VirtualBoxed eCS, else you'll have to wait for tonight when I get home (or someone else chipping in).

But before curiosity kills me (and during the time I'm searching for info...) may I dare to ask what's the intention behind it - or, what do you want to achieve or benefit from with it?

Cheers,
Thomas
"It is not worth an intelligent man's time to be in the majority.
By definition, there are already enough people to do that"
- G.H. Hardy

rwklein

Quote from: warpcafe on 2009.05.07, 11:38:07
Hi,

is that the "DOS Loadhigh" you're talking about (for the VDMs, DOS "boxes")?
Or are you referring to a core OS/2-related thing here? In the latter case I seem to remember that there was something in XWorkPlace about it. Perhaps will see if I can find more info on that... hopefully I have XWP on my VirtualBoxed eCS, else you'll have to wait for tonight when I get home (or someone else chipping in).

But before curiosity kills me (and during the time I'm searching for info...) may I dare to ask what's the intention behind it - or, what do you want to achieve or benefit from with it?

Cheers,
Thomas

Based on what mayhem43 "flagging executables" to load high. I guess he is referring to using exeheader todo that.
You can try mayhem43 but its like lighting a match in a gunpowder room. When Scott from IBM still worked on the kernel he experimented with this but from what I remeber he never realy advised to use it. But do some digging in groups.google.com.
Scott Garfunkle from IBM. This thread might give some slightly more information:

http://groups.google.com/group/comp.os.os2.programmer.misc/browse_thread/thread/2c12b83256820765/60aa1d1a7ae917be?q=exehdr+os/2+high#60aa1d1a7ae917be

Aaah this is statement from Rich Walsh in the thread:

Scott G. had put out a revised version of exehdr that let you mark 32-bit
code segments as "HIGHMEM".  Sadly, the changes to the kernel that permitted
loading code high were never fully debugged.  Use the feature and you're
guaranteed to get a trap in the kernel sooner or later.  When used with
Mozilla, it would occur about 1 time in 4 - always while shutting it down,
and always resulting in the complete disappearance of files like bookmarks
and prefs.js.  Too bad, as this feature alone would have given OS/2 a whole
new lease on life...

--

Its one of the features thats on the list to see how that can be fixed. But that for eComStation is something that is past eCS 2.0 and 2.1. Open Office,  and since about 1 to 1 1/2 years Firefox and Thunderbird use high memory to store data!
So if you open a big Office document or have a big browser cache it will at least not use the low memory region.


Roderick

Roderick

mayhem43

I am referring to loading 32 bit OS/2 executables above the 512 line. (flagging the 32 bit memory and data objects to load high).

I cannot go into detail about what I am doing, but let it suffice to say that I have some applications that need to remain on the OS/2 platform until they can be re-platformed (these are homegrown apps).  The system they are running on has been having "issues" that I have traced to excessive fragmentation and\or "fillin-up" the shared memory arena.

on a side note does anyone have a lead on where I can get XR_C005???  my company did have a support contract which would have gotten this, but....

many thx.

rwklein

Quote from: mayhem43 on 2009.05.07, 19:05:56
I am referring to loading 32 bit OS/2 executables above the 512 line. (flagging the 32 bit memory and data objects to load high).

I cannot go into detail about what I am doing, but let it suffice to say that I have some applications that need to remain on the OS/2 platform until they can be re-platformed (these are homegrown apps).  The system they are running on has been having "issues" that I have traced to excessive fragmentation and\or "fillin-up" the shared memory arena.

on a side note does anyone have a lead on where I can get XR_C005???  my company did have a support contract which would have gotten this, but....

many thx.


Well if you load it high will it fix the problem ? Since the application will still leak memory...

I work for Mensys (www.mensys.com/www.ecomstation.com). You can drop me a line at rwklein@mensys.nl. We sell eComStation and have fixpak 5. But I don't know from which kernel this expermenintal high loading was introduced in.

ivan

Mayhem, one thing you could do is get OS2MT http://www.os2mt.tk which will help you with upgrading the system to the latest available - including kernel.

With what little information you give I, like roderick, wonder if it will do what you want giving that you appear to have a memory leak.