Click here to Skip to main content
15,900,378 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
dandy7216-Dec-18 16:17
dandy7216-Dec-18 16:17 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Ron Anders16-Dec-18 11:23
Ron Anders16-Dec-18 11:23 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Richard Andrew x6416-Dec-18 12:07
professionalRichard Andrew x6416-Dec-18 12:07 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Ron Anders16-Dec-18 12:21
Ron Anders16-Dec-18 12:21 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
lopatir16-Dec-18 17:28
lopatir16-Dec-18 17:28 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 2:39
kalberts17-Dec-18 2:39 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
lopatir17-Dec-18 4:10
lopatir17-Dec-18 4:10 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 5:56
kalberts17-Dec-18 5:56 
Quote:
"a single, flat memory model ... all relevant CPU's" which includes the 186, 286, 386..., and are they not from the 70's?
If you had been bitching about the segmented memory of the '86 (all the way back to the 8086), I could have agreed with you. But that particular MMS mechanism that was gradually made more and more complex, from the 8086 and upwards to the 386, is what is particular to that family - and that was abondoned by MS. Well, there is no real way to turn off the segmentation, so what they do is to define a single 4 GB (in 32 bit mode) hardware code segment, a single 4 GB hardware stack segment and a single 4 GB harware code segment and put them on top of each other, and then build a software mechanism for doing a very similar segmentation. (Btw: 286 and 386 are designs of the 1980s, not the 1970s, and there never was any 186 Windows.)

If you are talking about flat memory models: "thus not able to make use of optimizations of later CPU's" - I wonder what you are referring to here - which mechanisms that is. And I wonder how other OSes make use of these mechanisms in ways that Windows doesn't. I know of several single-architecture OSes that make use of mechanisms particular to that specific architecture, but that is much more in the area of interrupt and exception handling than in memory management.

Flat, unsegmented memory certainly did not arrive in the 1970s - it more or less stems from the days of ENIAC. In that sense you could say that all OSes have their roots in hardware from the 1940s. If that is too far back for you: Another widespread OS is based on a 1965 vintage 12-bit architecture: It may well be argued that this architecture is the root of its very strong single-isolated-segment paradigm: Splitting up 4096 words into a collection of separate but cooperating segments would be rather impractical. The segments simply had to operate alone, and processes couldn't access more than its own segment, because there wasn't room in memory for two segments at a time. Today, there are workarounds, that definitely have the appearance of Workarounds, for this: The main paradigm is still that a a process has a single segment, as a single isolated box, communicating through flat files only - even for such a basic concept as synchronization.

Now I checked windows\prefetch at this machine, and you are right: There is a file named Wordpad.exe-...pf there. But first: It hasn't even been read, for about three months (and occasionally, I do start WordPad - last time may have been three months ago). Second: The file is 21 kB, while the "real" Wordpad.exe is almost 4,5 MB. So the prefetch directory most certainly does not hold the full .exe file - most likely some sort of metadata. In any case: Presence on disk does not show that the entire executable file is loaded into RAM, as you say.

IF it was, it might slow down the boot up time by a few MS. A SATA-600 disk can deliver 4,5 MB from a single NTFS extent in something like 10 ms. If that 10 ms slowdown bothers you a lot, feel free to be bothered a lot. (Anyway, I doubt that is actully happens). When you leav VS, and claim that is it reloaded again: Disk I/O is managed by DMA circuits. The CPU starts the transfer, and then goes on performing other tasks while the transfer is taking place. If you, within 10 ms after having closed VS start another huge file access on the same disk, it may have to wait for whatever remains of that 10 ms transfer. Feel free to feel bothered by that as well - and again, I doubt very much that Wordpad is actually read into RAM. Even if you had actually been using WordPad immediately before starting VS: Unless you are short on RAM, with noticable paging, chances are way above zero that the WordPad pages were still present in RAM with no need to read them in again.

I strongly suspect that there are aspects of the superfetch mechanism that you have not fully grasped. Either not at all, or misunderstood.
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
lopatir18-Dec-18 4:23
lopatir18-Dec-18 4:23 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts18-Dec-18 14:40
kalberts18-Dec-18 14:40 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Dan Neely17-Dec-18 3:09
Dan Neely17-Dec-18 3:09 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Mark_Wallace16-Dec-18 18:22
Mark_Wallace16-Dec-18 18:22 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 1:20
kalberts17-Dec-18 1:20 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Ehsan Sajjad16-Dec-18 21:30
professionalEhsan Sajjad16-Dec-18 21:30 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Rage16-Dec-18 21:34
professionalRage16-Dec-18 21:34 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 0:32
kalberts17-Dec-18 0:32 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
#realJSOP17-Dec-18 1:11
professional#realJSOP17-Dec-18 1:11 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 2:04
kalberts17-Dec-18 2:04 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 2:29
charlieg17-Dec-18 2:29 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2517-Dec-18 10:33
professionalmatblue2517-Dec-18 10:33 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 11:18
charlieg17-Dec-18 11:18 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2518-Dec-18 3:29
professionalmatblue2518-Dec-18 3:29 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Nathan Minier17-Dec-18 2:33
professionalNathan Minier17-Dec-18 2:33 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
#realJSOP17-Dec-18 9:23
professional#realJSOP17-Dec-18 9:23 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Nathan Minier18-Dec-18 2:28
professionalNathan Minier18-Dec-18 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   487 votes