FS#19951 - SSD frienldiness
Attached to Project:
Pacman
Opened by Matěj Týč (bubla) - Thursday, 24 June 2010, 11:09 GMT
Last edited by Dan McGee (toofishes) - Thursday, 08 July 2010, 05:24 GMT
Opened by Matěj Týč (bubla) - Thursday, 24 June 2010, 11:09 GMT
Last edited by Dan McGee (toofishes) - Thursday, 08 July 2010, 05:24 GMT
|
Details
Summary and Info:
Today SSDs are becoming quite common. The trouble is that those drives wear out if you write on them. The point is that during system upgrades, a package is downloaded to the disc before the installation. Although it is true that a compressed package occupies less space than files inside of it (so it would save like 30% of overhead or such), it would help if pacman is able to perform everything between downloading the package and copying its contents to the disc in RAM in order not to stress the disc. Most cutting-edge computers with SSDs should have enough RAM so this could make some sense. |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 08 July 2010, 05:24 GMT
Reason for closing: Won't implement
Additional comments about closing: FS#8586
should quell many of these concerns, as should using tmpfs mounts
appropriately
Thursday, 08 July 2010, 05:24 GMT
Reason for closing: Won't implement
Additional comments about closing:
If you think this is a good place for savings, let me tell you about all the other things that would be 1000x worse for your disk...
http://serverfault.com/questions/142188/can-an-ssd-notify-the-hosting-os-that-its-wear-level-is-getting-high
I have a good MLC SSD (at least I think so, it is 64GB Kingston V-Series), but the system update is IMHO the highest write traffic I have (at least in my case).
The entire /var/cache/pacman directory can get quite big and its size illustrates the issue. Everything that got written there is usually not useful and SSDs do wear out whether one likes it or not, which may mean not only failiure in the far future, but gradual performance degradation now (they write something about this in the link below)...
http://www.hardwarereview.net/Reviews/Kingston V-Plus SSD/KingstonVPlusReview.htm
If you could name those "1000x worse things", go ahead.
I am aware that it might not be worth the effort, but I still don't think that it is essentially a stupid idea...
2. Pacman database in /var/lib/pacman
3. Installing packages ("high write traffic" has a lot less to do with file size and a lot more to do with # of writes)
http://wiki.archlinux.org/index.php/SSD#Step_2:_Choosing_a_file_system
Anyway, thank you all if something good emerges out of this.
Thank you very much!