ffnord / mesh-announce

Discussion at #mesh-announce:irc.hackint.org and (separately) at
https://matrix.to/#/!MjLIHcALOcENXZWQlH:irc.hackint.org/$1547640760901FmKaD:matrix.eclabs.de
13 stars 45 forks source link

rfc: nodeinfo.hardware.model #74

Open AiyionPrime opened 3 years ago

AiyionPrime commented 3 years ago

In gluon the announced hardware model gives me a good feeling of the underlying capabilities of a node. This is not easily achievable for supernodes, especially considering the widely used virtualization in form of qemu or vmware.

This path could reveal some core details though, like architecture, single core speed as well as installed ram.

An example for one of our supernodes might look like this: x86_64 2.60GHz 1.45GB

Imo in combination with nodeinfo.hardware.nproc this becomes quite useful.

AiyionPrime commented 3 years ago

Ah, I overlooked @herbetom opts for manually setting it in #63.

herbetom commented 3 years ago

I find an automatic default useful. However, one must consider whether it would really be good to pack the specs in there or whether one would like to solve this differently (if not already included via own fields). This is of course much more complex, but for example in meshviewer there is a list with the grouped device models. Whether one would like to have gateways with different amounts of RAM or slightly different CPU Speeds listed individually I am undecided. I think it would have advantages, but it is also kinda an abuse of the field.

AiyionPrime commented 3 years ago

Gotta think about this.