Sebbene questo sia certamente non l'unico motivo per cui potresti riscontrare un rallentamento, un SSD pieno è un possibile motivo per rallentare.
Il primo motivo connesso a questo è inerente al filesystem utilizzato da macOS. Se il filesystem è HFSplus, lo spazio libero di solito deve essere superiore a una determinata percentuale per assicurare un funzionamento regolare. Se lo spazio libero scende al di sotto del 25%, le cose iniziano a complicarsi e la struttura delle directory diventa sempre più inefficiente. Per citare solo un motivo connesso al filesystem.
Perché è importante mantenere un sacco di spazio libero su OSX? Qual è l'impatto? e Quanto spazio su disco per lasciare libero?
Successivamente dipende se hai abilitato o meno il trim. Senza trim diventa sempre più difficile sapere quali celle utilizzare in seguito, dato che il livellamento dell'usura è progettato per utilizzare ogni cella idealmente in modo uguale rispetto agli altri. Su un Apple SSD originale dovrebbe essere abilitato.
Quindi tutti gli SSD attualmente venduti invecchiano e diventano effettivamente più lenti nel tempo. Questo non dovrebbe essere molto evidente, però.
Ancora più importante, tutto quanto sopra si combina a qualcosa di simile a una tempesta perfetta su tutti gli SSD, mentre si riempiono:
The benchmarks are clear: Solid-state drives slow down as you fill them up. Fill your solid-state drive to near-capacity and its write performance will decrease dramatically. The reason why lies in the way SSDs and NAND Flash storage work.
Filling the drive to capacity is one of the things you should never do with a solid-state drive. A nearly full solid-state drive will have much slower write operations, slowing down your computer.
Empty Blocks and Partially Filled Blocks
When you write a file to your solid-state drive, it looks for empty blocks and fills them. Writing to an empty block is the fastest possible write operation. That’s why new operating systems (Windows 7 and later) support the TRIM feature, which automatically deletes a file’s data from the solid-state drive as soon as you delete the file in your operating system. This works differently from magnetic hard drives, where bits of deleted files sit around on the hard drive.
They don’t sit around on a solid-state drive — TRIM ensures that the block is emptied so the SSD can quickly write new data to the empty block in the future. Writing over an already-written sector is just as fast as writing to an empty sector on a mechnical hard drive, but a solid-state drive must erase a block before writing to it.
NAND Flash memory writes data in 4 KB pages inside of 256 KB blocks. To add additional pages to a partially filled block, the solid-state drive must erase the entire block before writing data back to it.
As your solid-state drive fills up, fewer and fewer empty blocks are available. In their place are partially filled blocks. The solid-state drive can’t just write the new data to these partially filled blocks — that would erase the existing data. Instead of a simple write operation, the solid-state drive has to read the value of the block into its cache, modify the value with the new data, and then write it back. Bear in mind that writing a file will likely involve writing to many blocks, so this can introduce a significant amount of additional delay.
TRIM Doesn’t Consolidate Partially Filled Blocks
If you fill a drive to capacity or near capacity, it’s likely that you’ll end up with many partially filled blocks after you delete files. The TRIM command just directs a solid-state drive to remove file data when the file is deleted. It doesn’t force the drive to do any sort of cleanup operation.
In other words, fill a solid-state drive to capacity before deleting files and you’ll likely end up with many partially filled blocks. The drive won’t go out of its way to consolidate these partially-filled blocks into full blocks, freeing up empty blocks. The drive will still be full of partially filled blocks and write performance will be degraded.
Overprovisioning and Garbage Collection
To prevent consumers from filling up their solid-state drives and ending up with severely degraded performance, SSD manufacturers are going out of their way to counter this.
Consumer-grade solid-state drives often set aside about 7% of their total flash storage and make it unavailable to the user. This is known as “overprovisioning” — extra storage hardware is added to the drive but isn’t visible to the computer as available storage it can use. The spare area ensures that the drive can never become completely full — there will always be some spare capacity to help keep write performance stable.
Each solid-state drive’s controller has a garbage-collection algorithm to try to mitigate this problem. When the drive becomes full, it will look for partially-filled blocks and start to consolidate them, freeing up as many empty blocks as possible. Different solid-state drives run these operations at different times and thresholds — that depends on the drive’s controller.
Benchmark Evidence
Anandtech performed a variety of benchmarks with different drives to tease out the relationship between a solid-state drive’s spare area and the consistency of its write operation performance. When filling up an empty drive, they found high write performance very early in the process and a significant drop as the write operations continued to fill up the drive.
Setting aside more spare area on the drives helped the performance to remain consistent, as it ensured the drive should always have enough empty blocks ready.
They found that “minimum performance improves substantially once you hit 25% spare area for these [consumer] drives.” Their final recommendation was that you should “plan on using only about 75% of [your drive’s] capacity if you want a good balance between performance consistency and capacity.”
If you have a solid-state drive, you should try to avoid using more than 75% of its capacity. Buy a larger drive with more storage than you need and you’ll ensure that you always have consistent write performance. Luckily, SSDs are gradually becoming much cheaper, so this isn’t as expensive as it once was.
Oltre a queste considerazioni generali, se i rallentamenti percepiti sono esclusivi per il browser, allora il browser stesso è il colpevole più probabile.
Usando la stessa quantità di spazio libero sull'SSD ma con un nuovo profilo del browser e un browser appena lanciato, le cose probabilmente andranno molto meglio nella maggior parte dei casi.
Un semplice test per questo potrebbe essere la creazione di un nuovo utente, accedere a questo e provarlo. Se le cose sembrano migliori, è il momento di pulire il tuo profilo del browser. Cache, cookie, icone, archiviazione locale, estensioni, molto ...