performance using while transferring file via wifi

411 views
Skip to first unread message

guru

unread,
Sep 7, 2010, 9:38:45 AM9/7/10
to android-porting
HI all

I am transferring file via wifi. (adb over wifi)
while transferring if I try to scroll down the UI, scrolling is
happening slowly.
if I stop transferring and scroll the UI it is happening quickly.
I am trying to find out what is the link between transferring file and
the GUI?


I checked the top command:
CPU% PROCESSES
21% ksdioirqd/mmc1
14% adbd
14% wlan_main_service
2% system_server

these are taking most of the CPU. but how these affect the GUI?

Thanks
Gururaja B O

guru

unread,
Sep 7, 2010, 10:56:36 AM9/7/10
to android-porting
Hi All

Please let me know any performance tools in Android. I tried traceview
but not much help regarding CPU utilization and memory usage.

Thanks
Gururaja

Howard M. Harte

unread,
Sep 8, 2010, 12:12:28 AM9/8/10
to android-porting
Which wifi chip are you using? What kind of throughput are you
getting? Maybe it is not transferring data across SDIO efficiently.
Some wifi chips do not support blockmode, or are heavy on register
accesses across SDIO. You can look into optimizing the wifi driver,
or use a chip thay offloads most of the wifi processing from the host
CPU.

Also, if you are writing the file to an SD memory card or managed NAND
via MMC, the SD stack might be a bottleneck.

For wifi performance testing, you can get my "iPerf for Android" app
from the Market.

-Howard

guru

unread,
Sep 8, 2010, 3:27:44 AM9/8/10
to android-porting
Hi Howard

I am using marvell chip. I dont know any thing about other questions
you asked.

how to check these:
> Some wifi chips do not support blockmode, or are heavy on register
> accesses across SDIO.

> Also, if you are writing the file to an SD memory card or managed NAND
> via MMC, the SD stack might be a bottleneck.

from top command
21% ksdioirqd/mmc1

it is writing via MMC.

Thanks
Gururaja B O

Gururaj BO

unread,
Sep 9, 2010, 1:49:54 AM9/9/10
to hha...@gmail.com, android-porting
hI

I tried with iPerf but it is giving

write2failed broken pipe.

what may be the reason

just installed the iPref on Android and gave -s

and from PC i gave

./iperf -c 10.50.200.100 -r -F file_name.txt

it is giving that error

what is the problem?

Thanks
Gururaja


Gururaj BO

unread,
Sep 9, 2010, 1:57:30 AM9/9/10
to hha...@gmail.com, android-porting
I am also getting error.

Waiting for server threads to complete. Interrupt again to force quit

Howard M. Harte

unread,
Sep 9, 2010, 10:45:36 AM9/9/10
to android-porting
Like I mentioned in email, dont use -F, and make sure iPerf on the PC
is v2.04.

-Howard

On Sep 8, 10:57 pm, Gururaj BO <guru.nav...@gmail.com> wrote:
> I am also getting error.
>
> Waiting for server threads to complete. Interrupt again to force quit
>
>
>
> On Thu, Sep 9, 2010 at 11:19 AM, Gururaj BO <guru.nav...@gmail.com> wrote:
> > hI
>
> > I tried with iPerf but it is giving
>
> > write2failed broken pipe.
>
> > what may be the reason
>
> > just installed the iPref on Android and gave -s
>
> > and from PC i gave
>
> > ./iperf -c 10.50.200.100 -r -F file_name.txt
>
> > it is giving that error
>
> > what is the problem?
>
> > Thanks
> > Gururaja
>
> >> unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@ googlegroups.com>
> >> website:http://groups.google.com/group/android-porting

guru

unread,
Sep 16, 2010, 12:45:34 AM9/16/10
to android-porting
Hi

I tried to get top output in High signal strength, it shows that
during transfer

21% ksdioirqd/mmc1
14% adbd
14% wlan_main_service
2% system_server

these are taking much time. Will these affect so significantly for UI
slowness?
is there any way to reduce time taken by these or only solution as
indicated by Howard.

Thanks
Gururaja B O
Reply all
Reply to author
Forward
0 new messages