Re: Very slow scp performance comparing to Linux
Date: Sun, 03 Sep 2023 12:02:53 UTC
On Sat, Sep 2, 2023, 22:12 Wojciech Puchar wrote: > linux filesystem caching is just stupid, optimized to show up good in > benchmarks. > > It just accepts writes as long as there is available memory, without > writing anything to disk, then if it cannot do it anymore or some time > passed, schedules huge amount of writes, often stalling whole system. > > This is how it was almost 20 years ago when i was still using linux, seems > like didn't change much. > > Just think how much data loss and inconsistency would occur if there will > be crash or power loss after "writing" 100000 files of 10GB which can > easily be done in short time as linux just doesn't block writing process > at all and fill memory. > > Since i started using FreeBSD UFS, many machines, lighter of heavier > workload, always mixed workload, i never ever have more that a few files > loss on power outage. > Exactly! I was recently surprised when my friend using Linux copied around 4GB file to my pendrive, it showed over 200MB/s and was rapid fast but then we had to wait for background operation to complete for over an hour with absolutely no information on progress/completion. This is why I prefer FreeBSD :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >