Speed improvements with /OPT:WIN98 on Windows XP?

Posted on 2006-05-14
Medium Priority
Last Modified: 2010-07-27

Just something I have been unable to find on google, and the like.

Is there speed improvements with /OPT:WIN98 on windows XP?


"WIN98 and NOWIN98 control the section alignment in the final image. For Windows 98 applications, it is optimal to align sections on a 4K boundary to improve load time (allows Windows 98 memory manager to cache executable images with a minimum of wasted space). This is on by default in the linker, so you need to specify /OPT:NOWIN98 to get a trimmed-down (but slower on Windows 98) version of the application."

Now if I set my program's DLL to link with that, how much faster will it run, compared to something that has the option set as no?

Are there any benchmarks that I can look at?
Question by:amckern
LVL 27

Accepted Solution

BigRat earned 1000 total points
ID: 16681433
>>Now if I set my program's DLL to link with that, how much faster will it run


>>Are there any benchmarks that I can look at?

Not that I know of.

I used to use this option back in the old days for the C++ programs I ran on Win98. These machines then had little memory and optimising memory performance was in those days vital. Of course the image caching was very useful in things like CGI where the executeable was continually being loaded and unloaded and in this sense the programs ran faster. It also applies to DLLs which may be loaded by different programs during the session and in that sense the program's start up time would be smaller. Since all COM objects are also loaded from DLLs any COM objects created internally in programs would also benefit from this caching. Clearly the caching (or the elimination of the load process) is sooo application specific it was difficult to give and real benchmarks.

Author Comment

ID: 16681469
Ok thanks

Its a dll for a Half Life 2 (Source) mod, and i'm just trying to let the level designers get that extra detail, by speeding up the DLL.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question