Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/01/11 15:51:11 (13 years ago)
Author:
cneumuel
Message:

#1233

  • changed the workflow of aquireing a new job from server.
    • if a job is available for calculation, the slave receives the jobId already with the heartbeats. The job is then exclusively assigned to this slave.
  • extended the metainfo for a slave by OperatingSystem and CpuArchitecture
  • enhanced the way plugin-dependencies are discovered by using the types used by XmlGenerator. Now only mimimum amount of plugins are transferred.
  • selection of waiting jobs now consideres assigned slave-group
  • more unit tests for service
  • added unit tests for experiment manager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/HeartbeatManager.cs

    r5375 r5404  
    9393                SlaveId = info.Id, /*Settings.Default.Guid*/
    9494                FreeCores = info.Cores.HasValue ? info.Cores.Value - ConfigManager.Instance.GetUsedCores() : 0,
    95                 FreeMemory = GetFreeMemory(),
     95                FreeMemory = ConfigManager.GetFreeMemory(),
    9696                JobProgress = ConfigManager.Instance.GetExecutionTimeOfAllJobs()
    9797              };
     
    129129    }
    130130    #endregion
    131 
    132     #region Helpers
    133     private int GetFreeMemory() {
    134       PerformanceCounter counter = new PerformanceCounter("Memory", "Available Bytes", true);
    135       int mb = (int)(counter.NextValue() / 1024 / 1024);
    136       return mb;
    137     }
    138     #endregion
    139131  }
    140132}
Note: See TracChangeset for help on using the changeset viewer.