getdents()

Tomasz Formanowski mathom at pifpaf.pl
Wed Feb 6 02:59:39 PST 2008


Witaj Roman,

Dnia Sunday, January 27, 2008, 6:19:08 PM, napisałeś : 

RD> On Tue, Jan 22, 2008 at 01:02:41PM +0100, Tomasz Formanowski wrote:
>> Hi,
>> 
>> Is there any hope that this:
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=117010
>> 
>> will be fixed soon ?
>> 
>> Linux emulation is unusable now for newer software, like game servers
>> etc.

RD> just a note... it looks like fbsd getdents() and linux getdents() differ.
RD> I dont know the exact details but it causes some problems to samba

RD> it's all described here:

RD> https://bugzilla.samba.org/show_bug.cgi?id=4715

RD> I think "our" problem might connected to this one

RD> roman

   One more thing about getdents() in linuxolator 2.4 with bsd<=7 (the
   working one, with old glibc etc.).
   It consumes substantial amount of cpu ticks reading
   large directories. This problem was there since 4.x. You can
   replicate it using Valve's software "steam" content distribution
   client. ./steam consumes 100% of cpu when updating/fetching files.
   Until now, we thought that this is steam software problem, but it
   turned out, that the problem is non existent on Linux (steam
   consumes ~0-1% cpu).


pozdrawiam
Tomek "Mathom" Formanowski

----------------------------
PIFPAF.pl - Serwery gier
www.pifpaf.pl

                    



More information about the freebsd-emulation mailing list