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

the amount of data recorded on the SSD in human-friendly form #28

Open
OmlineEditor opened this issue Feb 25, 2022 · 9 comments
Open

the amount of data recorded on the SSD in human-friendly form #28

OmlineEditor opened this issue Feb 25, 2022 · 9 comments
Labels
enhancement New feature or request

Comments

@OmlineEditor
Copy link

I ask you to make it possible to see the amount of recorded data on the SSD in a human-friendly form, where the data is in terabytes, and not in clusters or short ones still need to be interpreted correctly.

@ashaduri ashaduri added the enhancement New feature or request label Feb 28, 2022
@ashaduri
Copy link
Owner

Hi,
Please post a screenshot of which attributes or statistics you mean.
I think some SSDs already report this in GiB, so I'd like to know which values you're interested in.

@OmlineEditor
Copy link
Author

do something like this:
1

@ashaduri
Copy link
Owner

Thanks.
Meanwhile, you can check the Attributes tab, and at least on my SSD, there is a "Total Written (GiB)" attribute, which should be easier to read.

@OmlineEditor
Copy link
Author

I don't have a value in my attributes for how much data is recorded

@ferdnyc
Copy link
Contributor

ferdnyc commented Apr 25, 2022

Just to +1 this a bit, on my TEAM SSD the only read/write attributes are "Total LBAs (Read|Written)" which are even more inscrutable. So, having the stats values translated into human-readable units seems handy.

@hamishmb
Copy link

Most of mine are the same and don't present it nicely in an attribute, sadly.

@ferdnyc
Copy link
Contributor

ferdnyc commented Feb 2, 2023

@OmlineEditor

1

I did just want to (very belatedly) note one thing: The "Lifetime power-on resets" attribute is just a flat count of the number of times the device has been... well... powered on.

(Must be a laptop, as my desktop systems show double-digit values. My very oldest drives are low-triple-digits, but that's after 8+ years of runtime. 😁)

Point is, it doesn't translate to "59 days" or any other value. Any attribute named "_Count" — which is actually most of them, in the majority of drives — generally can't be units-translated, as they just hold a unitless value: "number of times this particular event has been recorded".

Your SSD seems to be an exception to the "mostly _Count attributes" rule, in that the screenshot is showing a craaaazy number of temperature stats. (Wish mine were that informative!)

One could argue, I suppose, that it would be nice to make temp values optionally translatable into Fahrenheit, for us dirty Americans, or into Kelvin, for exactly nobody. But since nearly all of those many temp values are just 0 (and not 0 Celsius), even that would be useless, at least for your drive.

Then there are other attributes, like (on spinning-rust HDDs) Spin_Up_Time and Seek_Time_Performance, that really give no indication at all what units they're expressed in.

  • Are those even documented anywhere? (I assume... probably, if you know where to look?)
  • Are the units/scale consistent between different vendors? (HAHAHA! ...Yeah, good luck with that.)
  • Spin_Up_Time is maaaybe in milliseconds, but who knows? (And even if it is, translating millisecond values to any other scale is... not really useful. 232 ms => 0.232 s? "Great, thanks.")

Ultimately, there are a very limited number of attributes for which any sort of human-readable value translation/reformatting could be done at all, and even fewer for which it could be done reliably/usefully. (Though I'm still in favor of doing so, for those few attributes.)

@ashaduri
Copy link
Owner

ashaduri commented Feb 2, 2023

Your SSD seems to be an exception to the "mostly _Count attributes" rule, in that the screenshot is showing a craaaazy number of temperature stats. (Wish mine were that informative!)

Just as a note, some drives have these stats in the Temperature log (presented in an ASCII way in the Temperature Log tab).

One could argue, I suppose, that it would be nice to make temp values optionally translatable into Fahrenheit, for us dirty Americans, or into Kelvin, for exactly nobody. But since nearly all of those many temp values are just 0 (and not 0 Celsius), even that would be useless, at least for your drive.

One thing I can say for sure, I will not be implementing C->F translation ;)
In fact, I never noticed that computer temperatures were presented in anything other than Celsius - all the benchmarks I've seen always used C. Then again, maybe I just didn't pay enough attention as long as C was present.

  • Are those even documented anywhere? (I assume... probably, if you know where to look?)

Wikipedia (I know...) and random mailing lists were my source for most of the "help info" tooltips. The newer attributes and stats are less documented though.

Ultimately, there are a very limited number of attributes for which any sort of human-readable value translation/reformatting could be done at all, and even fewer for which it could be done reliably/usefully. (Though I'm still in favor of doing so, for those few attributes.)

I think I'll just humanize some those few stats where it does make sense.
Luckily, smartctl mostly takes care of the rest of them in the Attributes tab.

@ferdnyc
Copy link
Contributor

ferdnyc commented Feb 3, 2023

In fact, I never noticed that computer temperatures were presented in anything other than Celsius - all the benchmarks I've seen always used C. Then again, maybe I just didn't pay enough attention as long as C was present.

Honestly, I don't think they are. Even us Americans have gotten used to seeing things like CPU temps expressed in Celsius.

One thing I can say for sure, I will not be implementing C->F translation ;)

Yay! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants