Live data from Hacker News

Windows 10 works incorrectly with Large memory pages

sourceforge.net

21–30 of 96 posts

Re: Windows 10 works incorrectly with Large memory pages

#21

Earlier quoted context omitted.

As a Microsoft employee, I can say that that feedback is taken pretty seriously in most teams, especially if the description is good or if the problem recorder/screenshot tool is used. It's not all based on up votes.

Well then I'll report something about how my PC refuses to stay asleep after I tell it to sleep.

This happens to mine if I have an update pending, worth checking if it's an intermittent issue.

Re: Windows 10 works incorrectly with Large memory pages

#22
post #16

It is funnily interesting to me how they prefer to capitalize the word BUG, perhaps as a means of drawing attention to its (apparent) importance.

The pattern I've seen before is all-caps tags inserted in the code, making for easy grep, e.g. FIXME, BUG, TODO. Perhaps it becomes habit.

My super hitech code editor (erm...gedit) highlights FIXME and TODO in comments so you can easily find them while scrolling. Doesn't know about BUG though so I guess it just assumes you write bug-free code.

Re: Windows 10 works incorrectly with Large memory pages

#23
post #21

Earlier quoted context omitted.

Well then I'll report something about how my PC refuses to stay asleep after I tell it to sleep.

This happens to mine if I have an update pending, worth checking if it's an intermittent issue.

I've dug into it several times. First it was network adapter, which for some reason had a default setting to wake on any received packet (lol, wut?). Then it was waking because there was some setting deep in the system about waking up for scheduled operations. (not scheduled tasks, but timers within individual processes... why???) Now it started again but this time the power management tools report no reason for the wake.

Re: Windows 10 works incorrectly with Large memory pages

#24

Earlier quoted context omitted.

This issue is on feedback hub for anyone who wants to upvote it: https://aka.ms/Yxum93

Just to highlight supporting bugs from a non-Windows platform... https://s31.postimg.cc/e37910orf/IMG_2425.png

Not only do you have to be on Windows 10 (Anniversary Update or newer), you have to be signed into a Microsoft account in the Feedback Hub to even view anything.

Re: Windows 10 works incorrectly with Large memory pages

#25

Insightful response in the linked thread: https://sourceforge.net/p/sevenzip/discussion/45797/thread/e...

I'm not surprised at Igor's response, it's in keeping with his refusal to use modern compilers, security features, sign his code, or support ALSR properly.

Re: Windows 10 works incorrectly with Large memory pages

#27
post #26

In reading the article it's clear this is not a bug, it's API abuse. The documentation for VirtualAlloc is very clear that Large Pages should be a one time allocation thing are not intended for general malloc replacement.

Api abuse should not lead to system crashes or global memory corruption.

Re: Windows 10 works incorrectly with Large memory pages

#28
post #26

In reading the article it's clear this is not a bug, it's API abuse. The documentation for VirtualAlloc is very clear that Large Pages should be a one time allocation thing are not intended for general malloc replacement.

Api abuse should not lead to system crashes or global memory corruption.

Maybe, large pages are such a specialty feature on windows that generally speaking this use case was never supported. I'm not saying the crashes shouldn't be fixed. But VirtualAlloc should fail much faster because there are no large pages to alloc.

Re: Windows 10 works incorrectly with Large memory pages

#29
post #21

Earlier quoted context omitted.

This happens to mine if I have an update pending, worth checking if it's an intermittent issue.

I've dug into it several times. First it was network adapter, which for some reason had a default setting to wake on any received packet (lol, wut?). Then it was waking because there was some setting deep in the system about waking up for scheduled operations. (not scheduled tasks, but timers within individual processes... why???) Now it started again but this time the power management tools report no reason for the…

Do you have a Display port monitor, by any chance?

After adding one, I found out that when the display goes to sleep, Windows sees it as a disconnection, and 'helpfully' wakes up to reorganize all the windows onto one display. That wakes up the Display port monitor, which triggers another reorganization, and the cycle begins again.

Re: Windows 10 works incorrectly with Large memory pages

#30

Earlier quoted context omitted.

Rather unconventional, but Windows 10 on desktop and mobile do have a Feedback Hub [1] where Windows 10 users are able to provide all sorts of feedback, either as a suggestion or a problem . All the feedbacks are public and users can freely vote them up to draw more attention on them. The more vote they have, the more likely they receive a response from the developers and also get the priority in the queue of issues…

As a Microsoft employee, I can say that that feedback is taken pretty seriously in most teams, especially if the description is good or if the problem recorder/screenshot tool is used. It's not all based on up votes.

I've been pretty descriptive about my desire to have Programmer Dvorak added to the list of available keyboard mappings.
Post reply on HN