Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many hard page faults during full GC #674

Open
LinqLover opened this issue Jan 16, 2024 · 3 comments
Open

Many hard page faults during full GC #674

LinqLover opened this issue Jan 16, 2024 · 3 comments

Comments

@LinqLover
Copy link
Contributor

When working with images that (necessarily) have a size of a few GBs, I frequently note interruptions during full GCs that can take 30 seconds or longer. resmon confirms that there is a high number of hard page faults during these GCs, as my overall RAM consumption is often >90% and most of the time >50% of memory of Squeak.exe is swapped out to my SSD.

If somebody felt like investing efforts in making the GC more swap-friendly, this would be highly welcome from my side. For example: https://people.cs.umass.edu/~emery/pubs/f034-hertz.pdf (I do not pretend to have read this paper.)

@StephanEggermont
Copy link

That time sounds not unreasonable. If you do the same on a machine with sufficient ram, how much faster is gc?

@marceltaeumel
Copy link
Contributor

Hmm... maybe some specs of your system would help. In general, having an overall memory load higher than 90%, I would expect a slow-down of any application in the system.

An incremental GC seems to be a somewhat more practical approach to not buy into any platform-specific virtual-memory manager but remain cross-platform comparable?

@eliotmiranda
Copy link
Contributor

eliotmiranda commented Jan 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants