On Fri, Oct 30, 2020 at 6:42 PM Cy Schubert <Cy.Schubert_at_cschubert.com> wrote: > In message > <CAPrugNoYZS4wcyrpQ0584jZM1zTnwds7rCQPtm5ahJ8Gm91H1A_at_mail.gmail.c > om> > , Matthew Macy writes: > > On Fri, Oct 30, 2020 at 4:50 PM Cy Schubert <Cy.Schubert_at_cschubert.com> > wrote > > : > > > > > > In message <20201030233138.GD34923_at_zxy.spb.ru>, Slawa Olhovchenkov > writes: > > > > On Fri, Oct 30, 2020 at 04:00:55PM -0700, Cy Schubert wrote: > > > > > > > > > > > > More stresses memory usually refers to performance penalty. > > > > > > > > Usually way for better performance is reduce memory access. > > > > > > > > > > > > > > The reason filesystems (UFS, ZFS, EXT4, etc.) cache is to > avoid dis > > k > > > > > > > accesses. Nanoseconds vs milliseconds. > > > > > > > > > > > > I mean compared ZoL ZFS ARC vs old (BSD/Opensolaris/Illumos) ZFS > ARC. > > > > > > Any reaason to rise ARC hit rate in ZoL case? > > > > > > > > > > That's what hit rate is. It's a memory access instead of a disk > access. > > > > > That's what you want. > > > > > > > > Is ZoL ARC hit rate rise from FreeBSD ARC hit rate? > > > > > > We don't know that. You should be able to find out by running some > tests > > > that would populate your ARC and run the test again. I see that my > > > -DNO_CLEAN buildworlds run faster, when I run them a second or third > time > > > after making a minor edit, than they did before. Thus I assume it uses > > > memory more efficiently. By default it stores more metadata in ARC, 75% > > > instead of IIRC 25% by default. > > > > > > Getting back to your original question. A more efficient ARC would > exercise > > > your memory more intensely because you are replacing disk reads with > memory > > > reads. And as I said before the old ZFS "found" weak RAM on three > separate > > > occasions in three different machines over the last ten years. You're > > > advised to replace the marginal memory. > > > > Ryan has been able to reproduce this in a VM with 4GB, similarly a VM > > with 2GB loads just fine. It would seem that 4GB triggers a bug in > > limit handling. We're hoping that we can simply lower one of the > > default limits on i386 and make the problem go away. > > > > Please don't shoot the messenger when I observe that, generally > > speaking, i386 is considered a self supported platform due to ZFS > > general inability to perform well with limited memory or KVA. Long > > mode has been available on virtually all processors shipped since > > 2006. > > Yes, I was able to use ZFS on a 2 GB Pentium-M (i386) laptop for many > years. ZFS worked well with a little tuning on such a small machine. Last > time I booted it was late last year or early this year. It's in a drawer > right now. I'll try to pull it out this coming week to test it out. > > Serendipitous that I was thinking about pulling out that old laptop to > test > out the new ZFS just last week. > History has shown that as we tune by default for modern machines, the older machines will need more and more tuning to get reasonable performance. We had issues with the default number of bufs, for example, on small memory footprint machines. The first order tuning helped, but it was only a matter of time before even that was not enough. I suspect that using a smaller ARC on 32-bit platforms will suffice, for now. We should learn from history and understand that it's the first step down the path to the setup not working and gently encourage people to use this time to retool their platforms. This likely will take a year or four if history is any indicator, so there's plenty of time to retool... WarnerReceived on Sat Oct 31 2020 - 01:26:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC