VirtualBox

Changeset 34931 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 10, 2010 12:28:50 AM (14 years ago)
Author:
vboxsync
Message:

BlkCache: Optimization, don't enable the cache for DVD drives because it caches writes only and thus just increases the overhead for DVD drives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r34897 r34931  
    31443144                {
    31453145                    InsertConfigInteger(pCfg, "UseNewIo", 1);
    3146                     if (fBuiltinIoCache)
     3146                    /*
     3147                     * Activate the builtin I/O cache for harddisks only.
     3148                     * It caches writes only which doesn't make sense for DVD drives
     3149                     * and just increases the overhead.
     3150                     */
     3151                    if (   fBuiltinIoCache
     3152                        && (enmType == DeviceType_HardDisk))
    31473153                        InsertConfigInteger(pCfg, "BlockCache", 1);
    31483154                }
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