Showing tag results for Other

Jun 1, 2005
Post comments count0
Post likes count0

Using /LARGEADDRESSAWARE on 64-bit Windows for 32-bit programs

Raymond Chen

Probably the biggest advantage of 64-bit Windows is not the larger registers but rather the expansive 64-bit address space. Recall that even when the /3GB switch is set, 32-bit programs receive only 2GB of address space unless they indicate their willingness to cope with addresses above 2GB by passing the /LARGEADDRESSAWARE flag. This flag means t...

Other
May 23, 2005
Post comments count0
Post likes count0

Why are DLLs unloaded in the "wrong" order?

Raymond Chen

When a program starts or when a DLL is loaded, the loader builds a dependency tree of all the DLLs referenced by that program/DLL, that DLL's dependents, and so on. It then determines the correct order in which to initialize those DLLs so that no DLL is initialized until after all the DLLs upon which it is dependent have been initialized. (Of cour...

Other
May 17, 2005
Post comments count0
Post likes count0

You can't escape those AOL CDs

Raymond Chen

One of my colleagues was unpacking one of those $30,000 quad-processor more-memory-than-you-know-what-to-do-with super-server computers. The kind that require their own electrical substation. And it came with an AOL CD. It's like buying a Lexus and finding a 35-cents-off coupon in the glove compartment. Apparently, one of the questions AOL tech ...

Other
May 2, 2005
Post comments count0
Post likes count0

Another dead computer: My personal laptop

Raymond Chen

I'm kind of surprised at how much people reacted to my previous dead computer story. I guess there's an audience for stories about dead computers. Today's dead computer is my Sony Vaio PCG-Z505LE laptop, with a 600MHz processor and 192MB of RAM. Certainly a big step up from that 486/50 with 12MB of RAM. Laptop computers have a comparatively shor...

OtherDead computers
Apr 12, 2005
Post comments count0
Post likes count0

There's an awful lot of overclocking out there

Raymond Chen

A bunch of us were going through some Windows crashes that people sent in by clicking the "Send Error Report" button in the crash dialog. And there were huge numbers of them that made no sense whatsoever. For example, there would be code sequences like this: Yet when we looked at the error report, the and registers were equal! There were othe...

Other
Apr 11, 2005
Post comments count0
Post likes count0

The end of one of the oldest computers at Microsoft still doing useful work

Raymond Chen

My building was scheduled for a carpet replacement—in all my years at Microsoft, I think this is the first time this has ever happened to a building I was in—so we all had to pack up our things so the carpeters could get clear access to the floor. You go through all the pain of an office move (packing all your things) but don't get the ...

OtherDead computers
Mar 21, 2005
Post comments count0
Post likes count0

Psychic debugging: Why your expensive four-processor machine is ignoring three of its processors

Raymond Chen

On one of our internal mailing lists, someone was wondering why their expensive four-processor computer appeared to be using only one of its processors. From Task Manager's performance tab, the chart showed that the first processor was doing all the work and the other three processors were sitting idle. Using Task Manager to set each process's proc...

Other
Mar 16, 2005
Post comments count0
Post likes count0

Windows NT Security in Theory and Practice

Raymond Chen

Today, I'm not writing anything new. Instead, I'm referring you to the series of articles by Ruediger Asche starting with Windows NT Security in Theory and Practice. These articles are quite old but the principles are still sound. Just bear in mind that the newer stuff won't be covered.

Other
Mar 14, 2005
Post comments count0
Post likes count0

A subtlety in restoring previous window position

Raymond Chen

A common feature for many applications is to record their screen location when they shut down and reopen at that location when relaunched. If implemented naively, a program merely restores from its previous position unconditionally. You run into usability problems with this naive implementation. If a user runs two copies of your program, the two w...

Other
Mar 11, 2005
Post comments count0
Post likes count0

Performance gains at the cost of other components

Raymond Chen

In the operating systems group, we have to take a holistic view of performance. The goal is to get the entire system running faster, balancing applications against each other for the greater good. Applications, on the other hand, tend to have a selfish view of performance: "I will do everything possible to make myself run faster. The impact on th...

Other