S3C2440A strange perfomance issue
Mark Tinguely
marktinguely at gmail.com
Fri May 13 14:00:29 UTC 2011
On 5/13/2011 1:51 AM, Владимир Фещенко wrote:
> Thank you, Mark!
> After applying of patch, execution time become a stable (3 sec):)
That patch that I sent was bad, the variable pv was not defined at the
point. Below is a better temporary test patch.
TAILQ_FOREACH(pv, &pg->md.pv_list, pv_list) {
+ if (pv->pv_flags & PVF_EXEC)
+ return;
/* generate a count of the pv_entry uses */
The thread was in March 2010. It is in the FreeBSD ARM mailing list
archive under the subject, "Performance of SheevaPlug on 8-stable".
Is this FreeBSD current or 8.x? (We made some changes between 8.x and
-current).
Do you have cluster I/O enabled on the filesystem? Does it do this with
the cluster I/O turned off? (If the below theory is true, this won't
matter).
The executable page should be in the page cache, so there should not be
any I/O for the "cat" command. That leads me to suspect the "cat" turns
the write bit on the page and that bit is left on. The cache fixing
routine is doing its job based on incorrect information (that the page
is mapped for writing).
--Mark Tinguely
More information about the freebsd-arm
mailing list