Bug 12801
Summary: | x86-pat optimizaitions. | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Thomas Hellstrom (thellstrom) |
Component: | x86-64 | Assignee: | platform_i386 |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | alan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.31 rc series | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Thomas Hellstrom
2009-03-02 01:51:30 UTC
Ping. I'm currently debugging a case where I think the current RAM test apparently fails on an Athlon64 system (x86_64) Changing caching policy for 3D textures (normal pages using the set_pages_uc interface) is extremely slow and oprofile is showing reserve_memtype / free_memtype as the main CPU users (more than 95% of samples) When the app is killed, about 500MB of memory is about to be transitioned back to wb. That takes well over 1 minute. Again, free_memtype is taking more than 95% of the time. I'm guessing this is becuse the ram test fails and the PAT code sets up lists of pfn regions with non-standard caching attributes. I can't reproduce this on an intel 32-bit system, but the fact that this is now a real problem that should affect also "traditional" AGP, I'm raising the importance of this bug. Hmm. I might have spoken too early here. The symptoms may be related to bug #13884 just opened. I can test later. If that turns out to be the case I'll lower the importance of this bug again. The x86_64 problems were indeed caused by bug #13884. The use of virtual- instead of physical page addresses caused the memtype tracking code to assume the pages were outside of normal ram, making the reserved memory region list in the pat code excessively large. Since bug #13884 is fixed, I'm lowering the importance of this bug again. Closing out obsolete stale bugs, if this is incorrect please re-open |