[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-08-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 Mark Linimon changed: What|Removed |Added CC|freebsd-amd64@FreeBSD.org | -- You are

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #14 from Fabiano Sidler --- Hi Steven! Thank you for your help! I'm seeing the same: /usr/bin/time ./test Tested 4200 files 0.00 real 0.00 user 0.00 sys The interesting

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #10 from Steven Hartland --- Second graph is not for the process in question, so not much use. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #7 from Fabiano Sidler --- Following http://www.brendangregg.com/blog/2015-03-10/freebsd-flame-graphs.html I've done this: dtrace -x stackframes=100 -n 'profile-197 /arg0/ { @[stack()] = count();

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #9 from Fabiano Sidler --- Dtraced again, with: dtrace -x ustackframes=100 -n 'profile-99 { @[ustack()] = count(); } tick-60s { exit(0); }' Very weird graph, actually. -- You are receiving this

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #8 from Fabiano Sidler --- Created attachment 166811 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166811=edit graph -- You are receiving this mail because: You are on the CC list for

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #11 from Fabiano Sidler --- Created attachment 166819 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166819=edit php-cgi graph -- You are receiving this mail because: You are on the CC

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 Bug ID: 207022 Summary: stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Product: Base System Version: 10.2-RELEASE Hardware: amd64 OS:

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 Steven Hartland changed: What|Removed |Added CC|

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #2 from Fabiano Sidler --- (In reply to Steven Hartland from comment #1) Hi Steven! Thanks for replying so fast! This is the cstat source: === snip === #include #include #include int main(int

[Bug 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4

2016-02-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207022 --- Comment #3 from Steven Hartland --- Its a bit of a long shot, but can you try setting the timecounter to TSC and see if it makes any difference? sysctl kern.timecounter.hardware=TSC-Low -- You are receiving this