VirtualBox

Changeset 29504 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
May 16, 2010 1:43:18 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61641
Message:

AHCI: Always use an intermediate buffer for now until we have native S/G operations (fixes OS X read performance)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r29441 r29504  
    42864286    /*
    42874287     * Create a safe mapping when doing post processing because the size of the
    4288      * data to transfer and the amount of guest memory reserved can differ
     4288     * data to transfer and the amount of guest memory reserved can differ.
     4289     *
     4290     * @fixme: Read performance is really bad on OS X hosts because there is no
     4291     *         S/G support and the I/O manager has to create a newrequest
     4292     *         for every segment. The default limit of active requests is 16 on OS X
     4293     *         which causes a the bad read performance (writes are not affected
     4294     *         because of the writeback cache).
     4295     *         For now we will always use an intermediate buffer until
     4296     *         there is support for host S/G operations.
    42894297     */
    4290     if (pAhciPortTaskState->pfnPostProcess)
     4298    if (pAhciPortTaskState->pfnPostProcess || true)
    42914299    {
    42924300        ahciLog(("%s: Request with post processing.\n", __FUNCTION__));
Note: See TracChangeset for help on using the changeset viewer.

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