C9 Lectures: Dr. Ralf Lämmel - The Quick Essence of Functional Programming

Charles Torre (interviewer) and Michael Lehman (cameraman) continue the "Going Deep: Windows" series with a discussion with Landy Wang, a developer of the oh so important Windows Memory Manager.
Sorry for the low audio volume.
EDIT November 2, 2008: There is no streaming video for this interview. We will look into it. For now, please clickhere.
koorb wrote:Interesting and something tells me that Windows would be a lot more stable if everybody moved to managed code.
HLOCAL hMem = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY, HUGE_SIZE);
...
HeapFree(GetProcessHeap(), 0, hMem);
this way is faster than managed code MUCH, and never be wrong.
koorb wrote:Interesting and something tells me that Windows would be a lot more stable if everybody moved to managed code.
Manip wrote:
Three things wrong with that
1. What does it have to do with this topic?
2. Is Windows unstable?
3. If your cheap hardware is making Windows unstable how would managed code help that?
GRiNSER wrote:was there longhorn running on the pc in the video?
Beer28 wrote:
Orbit86 wrote:could be Longhorn because It was a login screen that I didnt recognize...its linux
it's not linux, there's no halt, reboot, ect... bar at the bottom.
It looks like a lockout screen more than a login screen.
supersonic wrote:
Beer28 wrote:Are there any major differences between the way windows handles memory pages and the way unix or linux handles pages?
Beer28 wrote:
Is there any major differences between the page file and swap?
Why not have a privilaged swap partition instead of a file?
Orbit86 wrote:beer, looks like you want to see Windows code...![]()
Beer28 wrote:Is there any major differences between the page file and swap?
Beer28 wrote:Why not have a privilaged swap partition instead of a file?
Beer28 wrote:Why is swap space on windows used when you have enough physical ram to handle the processes? As opposed to it not being used until it's necessary on linux?
androidi wrote:I haven't tested whether there's a real perf benefit for this, but have always thought that it's optimal to have one drive/array for system and apps and second for pagefile and backups/infrequently accessed data.
msemack wrote:
Assuming you have multiple drives, the best place for the pagefile is the middle of the most-used partition on the least-used drive.
AndyC wrote:The best place is the only partition on a dedicated drive on a dedicated controller. Anything else is a compromise of some sort.
AndyC wrote:And even that's assuming all the drives are similar speeds. Which may not be the case.
Beer28 wrote:
Swap is always at 0 on my system monitor on FC4 with about a gig of ram. top reports it at 0 as well.
The only time I remember seeing it at anything other than 0 was when I only had 256 MB of ram a long time ago. And on my server where I only have 512MB.
Beer28 wrote:Does the memory manager work with the kernel scheduler?
If a process releases it's timeslice as soon as it's started because it's a service or never accesses a good portion of memory or is in a sleep wait state, is it's heap more likely to be paged out?
What about non-paged driver memory? How does the memory manager handle that? ISR's can't use paged memory, are they still handled by the memory manager on windows TM?
androidi wrote:I haven't tested whether there's a real perf benefit for this, but have always thought that it's optimal to have one drive/array for system and apps and second for pagefile and backups/infrequently accessed data. I am talking about what is the optimal 2 hdd setup for both performance and some redundancy - special arrangement like this or some special RAID that gives both perf + redundancy on just 2 drives?
Hi there:
I´m a end user from Venezuela in the multimedia field, (using 3dmax, premiere, AfterFX, photoshop and so on), with a basic survival knowledge of windows set up. Mi system is a custom ordered Pentium D on Asus MB with 2 gig of ram, and lots of disk space.
As you may know, all the applications I use are memory-cannibal, so I don´t know if I can disable the swap memory without affecting the performance of the programs. It´s there some sort of a program that "cleans" the swap memory after exiting an application
without having to restart windows? I ask this because some times after a heavy use of some of this programs, the performance of the computer comes down to a crawl, which it´s noticeable in the update of the widows in the win explorer, for example.
Thanks in advance for any advice on this issue.
Beer28 wrote:
...
I can't help but notice that even though swap is enabled on linux, it's hardly ever used because I have alot of ram. It's not turned off. But linux will not use the disk swap partition space unless it's necessary. I can have 1 gig of ram on windows and have notepad open and it will still use the swap file if I have it enabled. It obviously doesn't need it, why is that?
Why is swap space on windows used when you have enough physical ram to handle the processes? As opposed to it not being used until it's necessary on linux?
So if the VMM is so smart, when will Internet Explorer NOT leak memory? One of the most aggravating things about IE is that it steadily expands to fill all available memory, degrading the system over time. This is true for IE7 and IE8 and is clearly observable in Task Manager. Exiting all instances of IE doesn't free it all and eventually the only solution is to reboot.
erm
"Posted: 22 hours ago" or a few years ago ?
what's up with reposting old content ? Did some of the converting process fail (old -> new site) ?
Or are you just lacking new content to upload ?
Great interview and a great personality, thanks for that! Interview would have been better with a bit of upfront preparation in terms of questions.