libatasmart/atasmart.c
Line 1225 in de62589
a->pretty_value = fourtyeight * 65536LLU * 512LLU / 1000000LLU;
This line seems does lbas-read/written 65536 512 (sectors) / 1000000 (mb). However on my various varieties of Samsung ssd this 65536 multiple is incorrect, it should actually just be 512 / 1000000 to get mb. This means I'm having to put a 16 factor in to convert to bytes/sec
libatasmart/atasmart.c Line 1225 in de62589
a->pretty_value = fourtyeight * 65536LLU * 512LLU / 1000000LLU;
This line seems does lbas-read/written 65536 512 (sectors) / 1000000 (mb). However on my various varieties of Samsung ssd this 65536 multiple is incorrect, it should actually just be 512 / 1000000 to get mb. This means I'm having to put a 16 factor in to convert to bytes/secupstream issue link: https://github.com/Rupan/libatasmart/issues/5#issue-651106469