Re: why does mlockall appear to make memcpy slower ?

From: Michael Bacarella (mbac@nyct.net)
Date: Mon Apr 03 2000 - 10:34:55 EST


> > >management schemes (paging/etc).
> > >
> > >I'm almost positive you know this though, so your question seems strange.
> >
> > Look at what I wrote again. It runs *slower* when run as root, and
> > faster when not. That is, mlockall() causes it run slower.
>
> I grok "Average msecs per MB 7.417227; Average copy rate: 0.000007
> msecs/bytes if run with root permission." as meaning "If I run with root
> permissions, I get 7.4xx MB/sec"

Duh to me. My mistake.

Nothing to see here. :)

-MB

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:10 EST