Results 1 to 1 of 1

Thread: large pages

  1. #1
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,982
    Thanks
    298
    Thanked 1,309 Times in 745 Posts

    large pages

    On win10, Large Pages only work when
    1) Program executable is x64
    2) Runs under admin
    3) Policy allows large pages (“Computer Configuration” , “Windows Settings”, “Security Settings”, “Local Policies” , “User Rights Assignment”, “Lock Pages in memory”)
    4) Unfragmented 2MB pages physically exist in memory manager (ie test is done soon after reboot)

    Code:
    z:\021>2mpages.exe
    
    OpenProcessToken: <The operation completed successfully.  >
    LookupPrivilegeValue: <The operation completed successfully.  >
    AdjustTokenPrivileges: <The operation completed successfully.  >
    LPM.size=200000: 
    VirtualAlloc flags=20001000: <The operation completed successfully.  >
    p=00C00000 Flags=20001000
    
    Z:\021>timetest 7z a -mx1 -md27 -slp -mmt=1 1 "D:\000\enwik8"
    
    7-Zip 19.02 alpha (x64) : Copyright (c) 1999-2019 Igor Pavlov : 2019-09-05
    Archive size: 31739530 bytes (31 MiB)
    Tested program has wasted 12.563s
    
    Z:\021>timetest 7z a -mx1 -md27 -slp- -mmt=1 2 "D:\000\enwik8"
    
    7-Zip 19.02 alpha (x64) : Copyright (c) 1999-2019 Igor Pavlov : 2019-09-05
    Archive size: 31739530 bytes (31 MiB)
    Tested program has wasted 15.547s
    
    (15.547/12.563-1)*100 = 23.75%
    Attached Files Attached Files

Similar Threads

  1. Large Text Compression Benchmark
    By CompressMaster in forum Data Compression
    Replies: 22
    Last Post: 24th November 2019, 03:10
  2. Compressing two (or more) large but similar files
    By nanoflooder in forum Data Compression
    Replies: 1
    Last Post: 2nd March 2017, 19:41
  3. Adler32 on Large Blocks
    By encode in forum Data Compression
    Replies: 1
    Last Post: 2nd January 2015, 21:38
  4. LZSS with a large dictionary
    By encode in forum Data Compression
    Replies: 31
    Last Post: 31st July 2008, 21:15
  5. Large text benchmark
    By Matt Mahoney in forum Forum Archive
    Replies: 39
    Last Post: 13th January 2008, 00:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •