Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 2016 09:46:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4
Message-ID:  <bug-207022-6-oTBV8TSCEQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207022-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207022-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207022

--- Comment #6 from Fabiano Sidler <fabianosidler@swissonline.ch> ---
(In reply to Andriy Gapon from comment #5)

Originally, the script was like so:
=3D=3D=3D snip =3D=3D=3D
fbt:::entry
{
    entry_times[probefunc] =3D timestamp;
    printf("fbt enter %s\n", probefunc);
}

fbt:::return
{
    printf("fbt return %s\t%d\n", probefunc, timestamp-entry_times[probefun=
c]);
}
=3D=3D=3D snap =3D=3D=3D

But unexpectedly, the returns weren't in reverse call order, so I'm simply
printing the time since last function call.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207022-6-oTBV8TSCEQ>