Date: Sun, 3 Sep 2023 14:02:53 +0200 From: Tomek CEDRO <tomek@cedro.info> To: Wojciech Puchar <wojtek@puchar.net> Cc: Wei Hu <weh@microsoft.com>, Guido Falsi <mad@madpilot.net>, Mikhail Zakharov <zmey20000@yahoo.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Very slow scp performance comparing to Linux Message-ID: <CAFYkXjnmtYL5dMAX_DvsiKECfJsAJAujX8Kjq0T9dmUBPM3C8w@mail.gmail.com> In-Reply-To: <d77491c9-fe6e-22b0-ca7a-d17d1a5345c6@puchar.net> References: <SI2P153MB0441858EC3FE24D5B7A6B34DBBE0A@SI2P153MB0441.APCP153.PROD.OUTLOOK.COM> <6952b7fd-f90f-2677-1997-d0c708cb559e@yahoo.com> <SI2P153MB04412D004F9930203B04A032BBE0A@SI2P153MB0441.APCP153.PROD.OUTLOOK.COM> <455dc69a-dd15-18d9-8e93-91bbff3997e4@madpilot.net> <SI2P153MB04418D609BBB9184FD7FFC4ABBE7A@SI2P153MB0441.APCP153.PROD.OUTLOOK.COM> <d77491c9-fe6e-22b0-ca7a-d17d1a5345c6@puchar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000037451e0604732df5 Content-Type: text/plain; charset="UTF-8" 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 > --00000000000037451e0604732df5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><div data-smartmail=3D"gmail_signature">On Sat, Sep = 2, 2023, 22:12 Wojciech Puchar=C2=A0 wrote:</div><div class=3D"gmail_quote"= ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex"> linux filesystem caching is just stupid, optimized to show up good in <br> benchmarks.<br> <br> It just accepts writes as long as there is available memory, without <br> writing anything to disk, then if it cannot do it anymore or some time <br> passed, schedules huge amount of writes, often stalling whole system.<br> <br> This is how it was almost 20 years ago when i was still using linux, seems = <br> like didn't change much.<br> <br> Just think how much data loss and inconsistency would occur if there will <= br> be crash or power loss after "writing" 100000 files of 10GB which= can <br> easily be done in short time as linux just doesn't block writing proces= s <br> at all and fill memory.<br> <br> Since i started using FreeBSD UFS, many machines, lighter of heavier <br> workload, always mixed workload, i never ever have more that a few files <b= r> loss on power outage.<br></blockquote></div></div><div dir=3D"auto"><br></d= iv><div dir=3D"auto">Exactly! I was recently surprised when my friend using= Linux copied around 4GB file to my pendrive, it showed over 200MB/s and wa= s rapid fast but then we had to wait for background operation to complete f= or over an hour with absolutely no information on progress/completion. This= is why I prefer FreeBSD :-)</div><div dir=3D"auto"><br></div><div dir=3D"a= uto">--<br>CeDeROM, SQ7MHZ, <a href=3D"http://www.tomek.cedro.info">http://= www.tomek.cedro.info</a><br></div><div dir=3D"auto"><div class=3D"gmail_quo= te"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef= t:1px #ccc solid;padding-left:1ex"> </blockquote></div></div></div> --00000000000037451e0604732df5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjnmtYL5dMAX_DvsiKECfJsAJAujX8Kjq0T9dmUBPM3C8w>