- Timestamp:
- Sep 17, 2009 1:46:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r23067 r23093 83 83 * When PGMPOOL_WITH_GCPHYS_TRACKING is enabled using high values here 84 84 * causes a lot of unnecessary extents and also is slower than taking more \#PFs. 85 */ 86 #define PGM_SYNC_NR_PAGES 8 85 * 86 * Note that \#PFs are much more expensive in the VT-x/AMD-V case due to 87 * world switch overhead, so let's sync more. 88 */ 89 # ifdef IN_RING0 90 /* Chose 32 based on the compile test in #4219; 64 shows worse stats. 91 * 32 again shows better results than 16; slightly more overhead in the \#PF handler, 92 * but ~5% fewer faults. 93 */ 94 # define PGM_SYNC_NR_PAGES 32 95 #else 96 # define PGM_SYNC_NR_PAGES 8 97 #endif 87 98 88 99 /**
Note:
See TracChangeset
for help on using the changeset viewer.