Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hardware meta data #169

Open
1 of 3 tasks
MichaelRoeder opened this issue Nov 21, 2017 · 6 comments
Open
1 of 3 tasks

Add hardware meta data #169

MichaelRoeder opened this issue Nov 21, 2017 · 6 comments

Comments

@MichaelRoeder
Copy link
Contributor

MichaelRoeder commented Nov 21, 2017

Description

As a developer of a system / benchmark, I would like to know the hardware on which the my system / benchmark is executed to decide how many instances I can deploy at runtime.

Solution

The platform should provide detailed information about the nodes for the system / benchmark. This can be done using an RDF model that is submitted as environmental variable.

In a first step, submitting the number of nodes, e.g., as an own environmental variable, would be sufficient. (Has high priority)

Tasks

  • use Docker to automatically gain information about the hardware the platform is running on
  • divide the hardware information into two categories: an RDF model for the system nodes and an RDF model for benchmark nodes
  • give the information to every newly created container based on its type
@MichaelRoeder
Copy link
Contributor Author

blocked by #100

@denkv
Copy link
Collaborator

denkv commented May 7, 2018

Currently we have the following related information available from prometheus:

  • number of CPU cores
  • CPU frequency
  • total memory amount
  • total swap amount
  • uname output (domain, arch, OS with version and release)

@denkv
Copy link
Collaborator

denkv commented May 7, 2018

Currently we have the following in our example:

<http://example.org/ExampleHardware> a hobbit:Hardware ;
hobbit:hasModel "...." ;
  hobbit:hasProcessors "...." ;
  hobbit:hasMemory "...." ;
  hobbit:hasDisks "..." ;
  hobbit:hasNetworkAdapters "...." ;
  hobbit:hasOS "Linux .." ;
  hobbit:hasFileSystem "..." ;
  hobbit:hasCPUTypeCount "1"^^xsd:int ;
  hobbit:hasRAM "..." .

Can we improve that to clarify more what is expected? For example, for memory: amount, manufacturer, exact model?

@MichaelRoeder
Copy link
Contributor Author

That is up to us. We can also reuse the MEX vocabulary which already defines some of these things (see hobbit-project/ontology#4).

MichaelRoeder added a commit to hobbit-project/core that referenced this issue May 20, 2018
Add environment variable names for hardware data (necessary for hobbit-project/platform#169 )
@MichaelRoeder
Copy link
Contributor Author

MichaelRoeder commented Jun 15, 2018

@denkv I think you list of available information is already sufficient. We just have to

  • Implement to collect this information,
  • Check the MEX vocabulary (or other related vocabularies) for properties or resources which can be reused and
  • Implement the creation of the hardware model
  • ... and add it to the result model of an experiment (should be part of the platform controller)

MichaelRoeder added a commit to hobbit-project/core that referenced this issue Sep 10, 2018
Developed version 1.0.12.
* Added a class to access environmental variables (fixes #13).
* Added env. variable names for number of system and benchmark nodes as requested by hobbit-project/platform#169
* Allow to set timeout of storage service client.
@denkv
Copy link
Collaborator

denkv commented Jan 7, 2019

  • Display hardware information in UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants