News for hackers. Stuff that matters.
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by AdamJacobMuller on Thursday September 29, 2022 @03:17PM (#33025689)

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        34 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    0%
    Data Units Read:                    33,233,061 [17.0 TB]
    Data Units Written:                 63,502,177 [32.5 TB]
    Host Read Commands:                 1,054,789,960
    Host Write Commands:                1,703,081,155
    Controller Busy Time:               0
    Power Cycles:                       184
    Power On Hours:                     921
    Unsafe Shutdowns:                   18
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
Even after 32TBW i'm at 0% used? Wow.
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by jrib on Thursday September 29, 2022 @03:39PM (#33025982)
another data point:

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x00
    Temperature:                        30 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          99%
    Percentage Used:                    1%
    Data Units Read:                    53,345,304 [27.3 TB]
    Data Units Written:                 59,621,038 [30.5 TB]
    Host Read Commands:                 349,163,066
    Host Write Commands:                218,226,588
    Controller Busy Time:               0
    Power Cycles:                       109
    Power On Hours:                     225
    Unsafe Shutdowns:                   8
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      0
MacBook Air (M1, 2020) 16GB 512GB
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by cool_hw on Thursday September 29, 2022 @03:48PM (#33026107)
Your read/writes seem to be comparable to the parent, but your power on hours are significantly lower, really hard to draw any conclusions here.

I wonder if this whole issue is simply MacOS dumping the stuff in memory to disk when going to standby, and then reading it all back.

So for a 16GB machine, for simplicity, let's say you always have RAM saturated, and you open/close the lid 5 times in a day, you have 16GB * 5 = 80GB per day read/written. For 365 days, that is 80 * 365 = 29200 GB or 28.51 TB read/written.

Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by AdamJacobMuller on Thursday September 29, 2022 @08:48PM (#33029409)
Launch day purchased M1 MacBook Pro with 4TB SSD.

I have custom pmset setup to NOT dump to disk (mostly) with two aliases:

    pmset-fast: sudo pmset -ab hibernatemode 0 sleep 0
    pmset-secure: sudo pmset -ab hibernatemode 25 sleep 0 displaysleep 1
First one is memory only, if the battery dies, the battery dies and the OS goes away.

The second one is hard drive only, closing the lid writes to disk only and puts the laptop into deep sleep.

I know I'm weird for having this but since I run the first one (fast) 99% of the time I can basically say I almost never write hibernation files to disk.

Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by cool_hw on Friday September 30, 2022 @07:35AM (#33033545)
Thank you, this is useful. I think I'm going to try the memory only option. Your Read/Writes seem lower than others (still pretty high, but much better than other Apple Silicon)
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by cool_hw on Friday September 30, 2022 @09:20AM (#33034484)
Is there a noticeable difference in battery life usage with option 1?
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by krackers on Friday September 30, 2022 @12:39AM (#33031028)
>open/close the lid 5 times in a day

It's a bit smarter than that, it only writes memory contents to disk after a given period in standby. So in your example you'd only be incurring it twice a day probably.

Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by cool_hw on Friday September 30, 2022 @07:36AM (#33033548)
Indeed, I intended to say letting it get to standby. :)
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by drdo on Thursday September 29, 2022 @03:25PM (#33025808)
What model of Macbook is this? And how big is the SSD?
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by AdamJacobMuller on Thursday September 29, 2022 @08:48PM (#33029412)
Launch day purchased M1 MacBook Pro with 4TB SSD.
Re:Ask HN: Has the Apple Silicon excessive disk read/write i... by cool_hw on Thursday September 29, 2022 @03:20PM (#33025736)
That is good to note, I wonder how accurate it is. Can you share how long you've had it and the typical usage (hours and disk activity)?