This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: Announcing new interface: FindProc
On Mon, 2006-11-20 at 11:08 -0500, Nurdin Premji wrote:
Here is the "final" implementation of the interface:
>
> class MyFinder implements Host.FindProc
> {
>
> public void procFound(ProcID procID)
> {
> Manager.eventLoop.requestStop();
> }
>
> public void procNotFound(ProcId procID, Exception e)
> {
> Manager.eventLoop.requestStop();
> fail();
> }
> }
>
> and in the code you would write:
>
> Host.requestFindProc(true, new ProcId(pid), new MyFinder());
^ boolean refreshAll: whether to refresh the tasks of the proc.
Preliminary reports show that make check times have decreased from
1m7.522s to 1m0.825s.
I also tested fstack and fcore and the results are:
fstack: down from 2.3314 to 2.2094.
fcore: up from 1.4858 to 2.0045. *
There were some weird issues with fcore as shown below by actual
numbers:
Old fstack: 2.225, 2,385, 2.184, 2,666, 2,194
New fstack: 2.305, 2.161, 2.263, 2.164, 2.154
Old fcore: 1.504, 1.389, 1.036, 1.935, 1.599, 1.440
New fcore: 1.327, 3.355*, 1.019, 4.353*, 0.996, 0.978
(So technically fcore would have been much faster but for the anomalies)
I was not running these tests in single user mode which would probably
explain the anomalies, so tomorrow morning I'm going to read up on
single user mode and try to post more accurate numbers.