Computer Tips and Tricks
Intro
This is a collection of hopefully useful tips and tricks stemming from my work in IT support or dealing with computers in general.
Want to access quick navigation directly (N)?
Restoring SSD and other Flash Memory Performance
The Problem
We have been living with all kinds of flash memory for years now, and in the same time memory density has steadily increased. Now you may occasionally have noticed symptoms of flash memory getting slower and slower over time – not always, not everywhere, but it does happen. It is the result of bit fading from charges bleeding off over time, which makes the job of error correction harder and harder if the contents are not explicitly being rewritten. We can assume that the severity of the issue is going to vary by flash maker, process node, type of flash (I would assume QLC and 2D TLC would be more critical than MLC and 3D TLC), existing number of write cycles and sheer luck of the draw.
Fundamentally, you can potentially encounter the problem in any kind of flash memory:
- SD and MicroSD cards
- eMMC storage (the infamous "Samsung eMMC disease")
- SSDs
I have seen major read slowdown and hiccups on existing data in a Samsung Pro Plus 256 GB MicroSDXC card after about 5 years (while its Transcend predecessor of half the size was still reading at full blast), as well as various 256/512 gig OEM level SATA and NVMe SSDs from around 2020 (by e.g. Samsung and Toshiba / Kioxia), however I'm seeing signs of uneven read speed and hiccups on my near 5-year-old 2 TB Samsung 970 EVO Plus as well (while my trusty old 850 PRO is reading stoically, as is a 1 TB Crucial MX500). Obviously the slower something is to begin with, the less margin it'll have before the slowdown becomes noticeable. The kicker is that I've had NVMe drives become slower than their SATAnic predecessors at times – imagine one being outpaced by a lowly Crucial BX500 (which wasn't particularly happy in itself). A Kioxia KBG4AZNV512G in a 10th gen Lifebook managed to average something in the 90s MB/s prior to a manual refresh, improving to about 300 and up to 800+ after (it can read up to 1.6 GB/s but I think that's only on empty sections). Now imagine half that speed in the 256 gig version.
Automatic Workarounds
Now more sophisticated SSDs may be trying to counteract any such issues by performing regular rewrites in firmware – you may remember that Samsung got bitten by slowdown of stale data in the 840 series SSDs and didn't properly fix it until the 840 EVO series, so chances are they kept doing that for a few generations at least. So as long as the SSD was kept powered on, everything would be fine. The 850 PRO series with its MLC flash should have far fewer issues with this anyway.
Obviously this would not be an option for substantially "dumber" storage like SD cards.
Manual Fixes
The best way to restore flash memory to as close to new performance as possible: Format and TRIM it.
- With an SD card, that might amount to using the official SD association formatter. Formatting the card is the only time at which it is being TRIMmed.
- With an SSD, I would nuke it (e.g. "clean" in diskpart íf you're on
Windows), create a new partition, fill it with zeroes and have the files
deleted afterwards (e.g.
cipher /w:<drive:>\until the 0x00 pass is through, abort using Ctrl+C). A power cycle may be needed afterwards for the TRIM to take effect. - With eMMC memory, you may be kinda SOL, unless you're some kind of wizard capable of unsoldering the chip and soldering it to something that converts it into an SD card.
If nuking all the data is inconvenient, I would suggest strategy number two: Rewrite all the data, TRIM empty space. Results probably won't be quite as good but it should still be quite effective.
Linux users can use some "dd" magic for rewriting, while for Windows I would suggest DiskFresh (note that you may run into its device driver being blocked by the Windows Driver Policy if you are running a recent iteration of Windows 11, in which case the easiest fix would be temporarily disabling Secure Boot; this tool is ancient and driver signing wasn't much of a thing then, and it goes without saying that you need low-level access for this so there is no way around a kernel-mode driver; if you are kept from installing the tool in the first place, Smart App Control needs to be temporarily disabled).
- For SD cards, rewriting should be sufficient, given that you can't explicitly TRIM them outside of a reformat anyway. It certainly helped my Samsung Pro Plus.
- For SSDs, I would rewrite and follow it up with a round of "cipher /w" to rewrite and then TRIM the empty space. A power cycle may be needed afterwards.
- For eMMC memory, there may be a way to set up the device from scratch and rewrite everything. Given that Android is just another Linux under the hood, it should also be possible to rewrite the storage device if you have root access (some dd magic taking device characteristics into account). This is a function that should ideally be integrated into the recovery bootloader.
Entry last modified: 2026-11-26 – Entry created: 2026-10-03
Standby Power Consumption: S3 vs. S0ix
Modern Standby (S0ix) has a bit of a reputation, with users frustrated by finding hot laptops with discharged batteries. However, after trying both S0ix and S3 I found that S0ix actually needed a hair less power in the following kind of guinea pig:
Ca. 2023 Lenovo Thinkpad L15 gen 3 21C4, i5-1245U, 1x16G DDR4-3200, SSD Micron MTFDKCD512TFK, AX211, Windows 11 Pro 25H2, Core Isolation and Firmware Protection disabled to permit the use of S3. Lenovo 65W AC adapter.
The BIOS option "Power → Sleep State" will toggle between "Windows and Linux" (= S0ix) and "Linux S3" (obvious). I will never understand why calling a spade a spade seems to be so hard in some circles.
I specifically disabled any and all "allow this device to wake the computer" and individual Wake-on-LAN options (Intel LAN historically has a habit of requiring both) for a level playing field, on both the I219 LAN and AX211 WiFi. If network adapters are permitted to remain active, then all bets are off, and I suspect this may have been the cause of past grief.
Results as per my Zhurui PR10, Schuko edition (which if memory serves is decently accurate to 0.25 W) at 23°C:
- S3 ("Classic" Suspend to RAM): 0.59-0.60 W
- S0ix (Modern Standby): 0.54 W (though it takes a while to settle down initially)
It's not a particularly big difference, but still, I was surprised!
One quirk of using S0ix in this model is that engaging it may only result in a briefly black screen before dumping you on the lock screen, I suspect touchpad activity may be waking it right back up. It usually works when trying again.
After shutting down, power consumption remains at around 0.30 W, perhaps because USB charging is still on. In Windows, the system can idle around 5 W, to which you can add about 3.5 W at maximum screen brightness or 2 at medium. I was slightly shocked to find the keyboard backlight adding about 2.5 W at maximum, it's not even that bright.
Side note, the little Micron SSD (only 2242!) proved quite zippy for an OEM job, with write speeds exceeding 2 GB/s, although a read test did reveal a few spots with dips indicating slowdown from bit fading. I ran a quick refresh (see above entry), and this actually brought up write speeds further, reaching 3.3 GB/s at times, close to the PCIe 3.0 x4 limit. Actual data reads will sustain up to about 1.6 GB/s.
Side note 2, I always disable Fast Boot and re-enable hibernation. Too many cases of being confronted with a Windows that was acting funny only to find out it hadn't seen an actual reboot in the better part of a year. The policy for automatic logon of last user after boot always gets disabled as well.
Entry last modified: 2026-11-26 – Entry created: 2026-11-26