소프트웨어/LSF

Resource (자원)

yororing 2024. 6. 26. 09:35

00 개요

  • LSF를 공부하는데 자원에 따라 job을 할당하는 LSF의 역할 중 자원(resource)가 무엇인가에 대해 정리하고자 함

01 자원이란 (Resources)

1. 정의

  • 'resource'
  • physical and logical entities that are used by applications to run
  • While resource is a generic term, and can include low-level things such as shared memory segments or semaphores
  • In LSF, EGO manages CPU slots.
  • A resource of a particular type has attributes
    • e.g., a compute host has the attributes of memoryCPU utilization, OS type, etc. 

02 Resource Groups

  • Resources can be grouped into logical groups to simplify identification, resource allocation, or for administration and monitoring purposes. 
  • These resource groups are used to provide a consumer with a like group of hosts to run workload. 
  • Any host in a resource group can be able to run the same workload.
  • the following figure shows 2 resource groups: ManagementHosts, ComputeHosts

  • if all of your hosts are identical, these resource groups might suffice
  • if your application requires a specific type of hosts (e.g., w/ a minimum processor speed), and not all hosts meet this criteria, you likely need to create resource groups to group like hosts together
  • e.g., a simple way to group resources might be to group your hosts by OS type
  • EGO provides a common grouping mechanism for resources
    • Resources might come and go from the system, so EGO supports dynamic membership in a resource group.
    • Hosts can be placed explicitly into individual resource groups, or the resource groups can be defined with a dynamic membership based on specific criteria. 
    • This criteria includes OS type, CPU speed, total memory, or swap configuration, or custom attributes

참조

  1. (IBM Spectrum LSF) https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=enabled-resources
  2.  
  3.  
  4.  
  5.