VirtualBox

Ignore:
Timestamp:
Nov 19, 2018 6:51:28 PM (6 years ago)
Author:
vboxsync
Message:

os2/VBoxSFFile.cpp: Performance optimization notes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFile.cpp

    r75560 r75594  
    636636     *
    637637     *    Raw data:
    638      *        11843ns / 47469 ticks - VbglR0SfFsInfo
    639      *         7748ns / 31216 ticks - VbglR0SfPhysFsInfo
    640      *         7298ns / 29275 ticks - VbglR0SfFastPhysFsInfo
    641      *         7012ns / 28189 ticks - Embedded buffer.
     638     *        11843 ns / 47469 ticks - VbglR0SfFsInfo.
     639     *         7748 ns / 31216 ticks - VbglR0SfPhysFsInfo.
     640     *         7298 ns / 29275 ticks - VbglR0SfFastPhysFsInfo.
     641     *         7012 ns / 28189 ticks - Embedded buffer.
    642642     *
    643      * 2. should've done measurements of the host side optimizations too...
     643     * 2. Interrupt acknowledgement in VBoxGuest goes to ring-3, which is wasteful.
     644     *    Played around with handling VMMDevReq_AcknowledgeEvents requests in
     645     *    ring-0, but since it just returns a 32-bit mask of pending events it was
     646     *    more natural to implement it as a 32-bit IN operation.
     647     *
     648     *    Saves 4217 ns / 17048 ticks / 13%.
     649     *
     650     *    Raw data:
     651     *          32027 ns / 128506 ticks - ring-3 VMMDevReq_AcknowledgeEvents.
     652     *          27810 ns / 111458 ticks - fast ring-0 ACK.
    644653     *
    645654     */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette