Date: Tue, 26 Jul 2011 20:19:37 +0200 From: Davide Italiano <davide.italiano@gmail.com> To: freebsd-hackers@freebsd.org Subject: UMA large allocations issues Message-ID: <CACYV=-H-pZL-3V_K73j3Hfks5DDUh=iL-PhD2UH5pQBkQD2=uQ@mail.gmail.com> In-Reply-To: <CACYV=-GbKOb40X=k26JMPEoz8Tv_J3LQ4byW%2B2zwXBLczaSuKw@mail.gmail.com> References: <CACYV=-G%2BUzw=q8WXqO_D8GLbrEGqKC0H_HL1U_wQCFPH9CeypQ@mail.gmail.com> <CAJUyCcMZfmZ-yFycjWZdovx4zEgKL5irAGtJ1vMDK1VfXjpdvQ@mail.gmail.com> <CACYV=-GY87ruXbk00nfTo-Q%2B08aLUkwkX-fR0%2BnJi_yQtKSUcw@mail.gmail.com> <4E2D2FE7.4070907@rice.edu> <CACYV=-EKdm8Rfv=8WhmV4BT3rB%2Bd8HvaaR6Znpty4vdaaUdocg@mail.gmail.com> <4E2DC07F.9070701@rice.edu> <CACYV=-HSOBsY4Nt1NQTRxgtvSSqaB2Hp6AVAo68yo6_v7GCH2Q@mail.gmail.com> <4E2DCF02.4060009@rice.edu> <CACYV=-GbKOb40X=k26JMPEoz8Tv_J3LQ4byW%2B2zwXBLczaSuKw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It seems that today I've some good news. I've done some job. Before I tried stuffs userspace http://davit.altervista.org/malloc_new.c , then I improved my patch a bit http://davit.altervista.org/uma_large_allocations.patch ) So, the situation is follow. System starts (before it doesn't), but I've a fatal trap 9, hmm, that's not great, and I guess that's not fault of mine, it's caused from buf_hash_find() in arc.c I've taken a look at arc.c code but doesn't seems that that function performs large allocations. What I've done is taking two shots (one about the panic the other one about the bt http://dl.dropbox.com/u/3530969/zfs_fail.png http://dl.dropbox.com/u/3530969/zfs_fail2.png ) I thought in a first phase that the trouble was related to the fact that there weren't enough chunks, so I increased CHUNKS_SIZE variable (now it's set to 200), but the issue remains the same. Ideas? Cheers Davide
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-H-pZL-3V_K73j3Hfks5DDUh=iL-PhD2UH5pQBkQD2=uQ>