Optimizing Linux for an AMD Xiaomi/Framework Laptop
31–36 of 36 posts
Re: Optimizing Linux for an AMD Xiaomi/Framework Laptop
#32> By default, many modern SSDs, including the one in this laptop, report a smaller sector size than their optimal one. This is done for compatibility with Windows XP and older systems… I had never heard of this. Of course, checking on my new NVME SSD I also get the suboptimal 512 bytes. I won't do a reinstall for this, but I wonder how large the performance impact actually is?
Re: Optimizing Linux for an AMD Xiaomi/Framework Laptop
#33> By default, many modern SSDs, including the one in this laptop, report a smaller sector size than their optimal one. This is done for compatibility with Windows XP and older systems… I had never heard of this. Of course, checking on my new NVME SSD I also get the suboptimal 512 bytes. I won't do a reinstall for this, but I wonder how large the performance impact actually is?
Not much actually does 512-byte IOs, at least not in any performance-critical way. Your OS and filesystem are probably doing most stuff in increments of 4kB, and that's the granularity the SSD is tracking allocations with, even when it is presenting the illusion of 512-byte sectors. The flash itself probably has a page size of at least 16kB, and erase block size of several MB, but trying to align and chunk your IO to…
Re: Optimizing Linux for an AMD Xiaomi/Framework Laptop
#34Thanks for the nice writeup! So how many hours does your laptop get after all this? It would also be interesting to see an "all default" install (arch or manjaro) somewhere, is someone knows a link.
Re: Optimizing Linux for an AMD Xiaomi/Framework Laptop
#35Also since I saw jdecourval here, no pressure but if you made an rss feed for your articles I would happily subscribe. I don't see one
Re: Optimizing Linux for an AMD Xiaomi/Framework Laptop
#36Also since I saw jdecourval here, no pressure but if you made an rss feed for your articles I would happily subscribe. I don't see one
RSS should be available already from my website: https://jdecourval.com/index.xml Not sure how often I will be posting, though!