Contributed by Anonymous Coward on from the big axe dept.
As a result of apparent lack of maintenance, Theo de Raadt has disabled tmpfs.
CVSROOT: /cvs Module name: src Changes by: deraadt@cvs.openbsd.org 2016/07/25 13:52:56 Modified files: sys/conf : GENERIC Log message: disable tmpfs because it receives zero maintainance.
(Comments are closed)
By Anonymous Coward (91.241.33.66) on
No more building stuff in memory?
Comments
By rc (160.83.30.200) on
> No more building stuff in memory?
SSD seems fast enough. haven't used it in Ages. That and I wont care if a build takes a day or two these days on my sparc.
By Anonymous Coward (151.61.85.67) on
> No more building stuff in memory?
mount_mfs still works.
Comments
By Anonymous Coward (91.241.33.66) on
> > No more building stuff in memory?
>
> mount_mfs still works.
Yeah, but mfs looks like inferior tech compared to tmpfs...
Link: http://undeadly.org/cgi?action=article&sid=20131217081921&pid=4
By Anonymous Coward (173.64.193.222) on
> No more building stuff in memory?
Can't you just re-enable it by uncommenting this line/rebuilding the kernel?
OpenBSD 6.0 already has errata 1 which requires a kernel rebuild anyway.
By Anonymous Coward (88.64.186.202) on
> No more building stuff in memory?
Buffercache to the rescue! It does a good enough job for me on armv7 with an really slow sd-card. I dont really need tmpfs/mfs for building fast...
By Anonymous Coward (62.235.124.135) on
> No more building stuff in memory?
But does tmpfs just need maintenance?
By Anonymous Coward (12.153.51.253) on
This is a shame, since it was nice getting RAM back after deleting files from tmpfs mounts.
Comments
By Anonymous Coward (92.40.83.93) on
This is an odd reason for liking a file system.
Comments
By Anonymous Coward (96.229.138.18) on
>
> This is an odd reason for liking a file system.
Yes. It's like liking eating certain food because of how you poop later on.
By Anonymous Coward (109.236.90.209) on
>
> This is an odd reason for liking a file system.
Not really, considering the only other alternative was/is mfs, which is a horrible "just bodge FFS to work entirely in RAM somewhere" solution, and does NOT free up RAM when files are deleted.
Getting RAM back after deleting files is an excellent reason to use tmpfs instead of mfs.
By Anonymous Coward (50.174.139.17) on
To those who wish to re-enable TMPFS, reverse this diff.
To those who question as to why this is necessary, on all flash media, there is a limited number of write (and read, for MLC/TLC) cycles that can be made before the flash chip becomes a tiny brick. This varies depending on the quality of the technology (SLC, MLC or TLC, best to worst). Most cheap (micro)SD cards and USB flash drives fall under the TLC category, whereas most SSDs are fortunate enough to have MLC. SLC is reserved for the far more expensive 'industrial quality' flash media.
MLC and TLC flash suffers from something called 'read disturb,' which causes data corruption after many reads to a cell. This is usually mitigated by the FTL (Flash Translation Layer), by moving data cells after a certain number of reads.
I've had quite a few SD cards die on me after compiling some software projects on a Raspberry Pi before coming to this realization.
Comments
By Anonymous Coward (210.246.20.30) on
>
> To those who question as to why this is necessary, on all flash media, there is a limited number of write (and read, for MLC/TLC) cycles that can be made before the flash chip becomes a tiny brick. This varies depending on the quality of the technology (SLC, MLC or TLC, best to worst). Most cheap (micro)SD cards and USB flash drives fall under the TLC category, whereas most SSDs are fortunate enough to have MLC. SLC is reserved for the far more expensive industrial quality flash media.
>
> MLC and TLC flash suffers from something called
>
> Ive had quite a few SD cards die on me after compiling some software projects on a Raspberry Pi before coming to this realization.
Most consumer SSDs seem to be TLC these days. Intel replaced their 530 (MLC) with the 540s (TCL) and most others are going the same way. It would be interesting to compare disk writes between different operating systems with TMPFS enabled for those that support it.
By Anonymous Coward (45.78.10.72) on
> But most important -- it recently demonstrated low quality with a of
> number unexpected NULL dereferences, bogus assertions, and other memory
> object mishandling -- and came dangerously close to having a security
> hole.
>
> It is below the standard.
You don't want a OpenBSD with a lot of vulnerabilities.