lkml.org 
[lkml]   [2015]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2/3/4 performance issue
On Sun, May 10, 2015 at 10:01:09AM +0200, Bernhard Kraft wrote:
>
> I work on implementing the ext2 filesystem for a PIC microcontroller and
> while reading the sources of it in the linux kernel I stumbled upon the
> following performance issue.....

Your observations are currect as far as ext2 is concerned; by the time
you get to ext4, it's a bit more complicated. Also, the
extN_bg_has_super() has in general not been a bottleneck, at least on
modern CPUs. Perhaps it would be more of an issue on a PIC
microcontroller, of course.

Finally, note that the overhead is cached so it is only calculated the
first time the extN_statfs() is called.

Cheers,

- Ted


\
 
 \ /
  Last update: 2015-05-11 00:01    [W:0.331 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site