Changeset 1683:02d37c376861

Show
Ignore:
Timestamp:
06/27/08 14:59:14 (2 months ago)
Author:
klai@…
Branch:
default
Message:

Wait until load is lower before caching a file system

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Tycoon/Virtualization/Xen.py

    r1661 r1683  
    226226            load = diff / ( 
    227227                (total_cpu_capacity * (now - self.__last_accounting_time))) 
    228             if load < .50: 
     228            if load < 0.25: 
    229229                yield self.__file_system_image.fill_cache_one() 
    230230        self.__last_cpu_cycle_total = total