Changeset 9394 for branches/HivePerformance
- Timestamp:
- 04/23/13 18:39:52 (12 years ago)
- Location:
- branches/HivePerformance/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave.MultiSlavesRunner/3.3/Properties/Settings.settings
r9373 r9394 1 1 <?xml version='1.0' encoding='utf-8'?> 2 <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="HeuristicLab.Clients.Hive.Slave .MultiSlavesRunner.Properties" GeneratedClassName="Settings">2 <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties" GeneratedClassName="Settings"> 3 3 <Profiles /> 4 4 <Settings> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave.MultiSlavesRunner/3.3/app.config
r9373 r9394 3 3 <configSections> 4 4 <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> 5 6 <section name="HeuristicLab.Clients.Hive.Slave.MultiSlavesRunner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> 6 7 <section name="HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> … … 54 55 55 56 <userSettings> 56 <HeuristicLab.Clients.Hive.Slave .MultiSlavesRunner.Properties.Settings>57 <HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings> 57 58 <setting name="NumberOfSlaves" serializeAs="String"> 58 59 <value>16</value> 59 60 </setting> 60 </HeuristicLab.Clients.Hive.Slave .MultiSlavesRunner.Properties.Settings>61 </HeuristicLab.Clients.Hive.SlaveCore.MultiSlavesRunner.Properties.Settings> 61 62 <HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings> 62 63 <setting name="HeartbeatInterval" serializeAs="String"> -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave/3.3/Core.cs
r9347 r9394 240 240 task = wcfService.GetTask(taskId); 241 241 if (task == null) throw new TaskNotFoundException(taskId); 242 if (ConfigManager.Instance.GetFreeCores() < task.CoresNeeded) throw new OutOfCoresException();243 if (ConfigManager.Instance.GetFreeMemory() < task.MemoryNeeded) throw new OutOfMemoryException();242 //if (ConfigManager.Instance.GetFreeCores() < task.CoresNeeded) throw new OutOfCoresException(); 243 //if (ConfigManager.Instance.GetFreeMemory() < task.MemoryNeeded) throw new OutOfMemoryException(); 244 244 SlaveStatusInfo.IncrementUsedCores(task.CoresNeeded); usedCores = task.CoresNeeded; 245 245 TaskData taskData = wcfService.GetTaskData(taskId); -
branches/HivePerformance/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/HeartbeatManager.cs
r9347 r9394 82 82 83 83 private void RunHeartBeatThread() { 84 Thread.Sleep(new Random().Next((int)Interval.TotalMilliseconds)); 85 84 86 while (!threadStopped) { 85 87 try {
Note: See TracChangeset
for help on using the changeset viewer.