Re: extremely slow disk access due to mremap?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Fri, 26 Aug 2005 17:09:58 +0200,
Justin Heesemann <[email protected]> escribió:

> finally i found a good reproducable way to test this behavior:
> 
> # time grep ^....$ /usr/share/dict/words > /dev/null
> 
> real    0m7.728s
> user    0m7.713s
> sys     0m0.011s

The problem seems (IMO) to be in userspace, your software seems to be doing
too much stuff for no good reason. If grep calls mremap() too many times
that's their problem; and even if it's doing that, the kernel is doing the
mremap() stuff quite fast

> the funny thing is: if i don't grep for a regexp, it's working fine:
> # grep asdf /usr/share/dict/words
[...]
> since right now i'm out of ideas what to look for next, could you please 
> help me?

Maybe a bug in the regexp code in your /bin/grep? Are you using
different distro/versions in your two boxes?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux