[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-tm-dev] IRemoteProcessSubSystem.getRemoteProcessObject() isslow
|
Hi Lothar,
I think you should comment on
https://bugs.eclipse.org/bugs/show_bug.cgi?id=175300
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
> -----Original Message-----
> From: dsdp-tm-dev-bounces@xxxxxxxxxxx
> [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Lothar Werzinger
> Sent: Donnerstag, 12. Februar 2009 20:26
> To: dsdp-tm-dev@xxxxxxxxxxx
> Subject: [dsdp-tm-dev]
> IRemoteProcessSubSystem.getRemoteProcessObject() isslow
>
> When I call
> remoteProcessService.getRemoteProcessObject(shellPid);
> the call lasts several seconds to complete.
>
> I stepped into it with the debugger and it turns out that
> this call ends up
> calling
>
> LinuxShellProcessService.listAllProcesses()
>
> which in turn runs "cat /proc/[0-9]*/status" on the remote
> system and parses
> the output. I checked and the status for each process returns
> 34 lines that
> need to be parsed by listAllProcesses and that's where I
> think all the time
> is wasted, as it get's all (hundreds) of the processes on the
> remote machine
> when it's only interested in getting the one with the PID given in
> getRemoteProcessObject().
>
> Are there plans to make this API more efficient/responsive?
>
> Lothar
> --
> Lothar Werzinger Dipl.-Ing. Univ.
> Director of Technology
> Tradescape Inc. - Enabling Efficient Digital Marketplaces
> 1754 Technology Drive, Suite 128
> San Jose, CA 95110
> web: http://www.tradescape.biz
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>