4

How does EOSIO ensure that block producers won't be using swap instead of RAM?

For example, what if block producers will use Docker and increase its VM memory, but in reality they'll use swap which will act as RAM (see: way to fake RAM?).

How will that kind of cheating impact the RAM Allocation Model?

  • All 3 answers are good so far. Let's see if anyone combines these into a really good answer! – Todd Fleming May 9 '18 at 22:00
4

A producer who does not maintain similar performance to other producers will fall behind and miss blocks. Also, under the subjective billing for resource usage this producer will cost users more from the CPU bandwidth than other producers. This will cause them to rapidly lose votes.

|improve this answer|||||
5

RAM is there for speed, if you start swapping, performances degrade instantly.. you won't be a very good producer if you're too slow.. On a saturated network, your blocks will always be smaller than the other producers.. I wouldn't want to be in that position :)

|improve this answer|||||
2

My guess would be that they will miss or produce blocks with fewer transactions than expected.

|improve this answer|||||
2

The standard process for dealing with Block Producers (BP) who aren't meeting the expectations of EOS users is to rescind votes from the producer and give them to another candidate producer. When the next producer election occurs, if enough EOS users have rescinded their votes from a BP, they will be removed as an active BP and replaced by another BP who has earned enough of the EOS users' votes.

|improve this answer|||||
1

Producers are free to use swap, there is no hard requirement that they use RAM. Market forces will demand performant producers, performant producers will demand in-RAM data with no swap usage.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.