- Timestamp:
- Nov 9, 2021 7:09:39 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/benchmarks/tdBenchmark2.py
r92277 r92301 97 97 cMbHostAvail -= cMbHostAvail // 7; # Rough 14% safety/overhead margin. 98 98 if cMbMaxGuestRam < cMbHostAvail: 99 # Currently: 2048 GiB, 1536 GiB, 1024 GiB, 512 GiB, 256 GiB, 128 GiB 99 # Currently: 2048 GiB, 1536 GiB, 1024 GiB, 512 GiB, 256 GiB, 128 GiB, 64 GiB, 32 GiB 100 100 acMbRam = [ cMbMaxGuestRam, cMbMaxGuestRam // 4 * 3, cMbMaxGuestRam // 2, cMbMaxGuestRam // 4, 101 cMbMaxGuestRam // 8, cMbMaxGuestRam // 16 ]; 101 cMbMaxGuestRam // 8, cMbMaxGuestRam // 16 ]; 102 if acMbRam[-1] > 64*1024: 103 acMbRam[-1].append(64*1024); 104 if acMbRam[-1] > 32*1024: 105 acMbRam[-1].append(32*1024); 102 106 elif cMbHostAvail > 8*1024: 103 107 # First entry is available memory rounded down to the nearest 8 GiB
Note:
See TracChangeset
for help on using the changeset viewer.