I could change MTU using busybox. Also, init.rc provides me commands to change TCP Window Size.
Hope that improves my throughput performance ! Any other tips for throughput optimization is deeply appreciated. 2010/9/9 孙文杰 <javenson0...@gmail.com> > @Vinod: > AFAIK you can change the TCP window size by modificaion in kernel code, but > I really doubt that you can do this in an application. > @All: > Plz correct me if something is wrong. > > 在 2010-9-9 下午2:10,"Vinod" <vinod....@gmail.com>编写: > > > Dear All > > How can we configure TCP Window Size for FTP data transfers in > Android ? > > Also, MTU change in Android will be very useful for my work > > Kind regards > > Vinod > > > On May 19, 6:10 am, Bobbie <bobbie.st...@gmail.com> wrote: > > I am running aTCPclient as a service. Every 15-20 minutes, the > > service just dies. I don't get a force close or anything, the app > > just closes. The app launches a main view and theTCPclient is > > started as a service by clicking a button using this code: > > > > Intent TCPstart = new Intent(); > > TCPstart.setClassName("com.package.STIX","com.package.STIX.TCPClient"); > > startService(TCPstart); > > > > Here is what I get from debug: > > > > 05-18 17:03:25.418: ERROR/dalvikvm(24664): VM aborting > > 05-18 17:03:25.637: INFO/WindowManager(1029): WIN DEATH:Window{446f43b8 > com.package.STIX/com.package.STIX.STIX paused=false} > > 05-18 17:03:25.645: INFO/ActivityManager(1029): Process > > com.package.STIX (pid 24664) has died. > > 05-18 17:03:25.645: WARN/ActivityManager(1029): Scheduling restart of > > crashed service com.package.STIX/.TCPClient in 5000ms > > 05-18 17:03:25.668: INFO/UsageStats(1029): Unexpected resume of > > com.android.launcher while already resumed in com.package.STIX > > 05-18 17:03:26.043: WARN/InputManagerService(1029): Got > > RemoteException sending setActive(false) notification to pid 24664 uid > > 10062 > > 05-18 17:03:26.864: INFO/DEBUG(14738): debuggerd committing suicide to > > free the zombie! > > 05-18 17:03:26.864: DEBUG/Zygote(992): Process 24664 terminated by > > signal (11) > > 05-18 17:03:26.879: INFO/DEBUG(25807): debuggerd: Mar 22 2010 17:31:05 > > 05-18 17:03:30.661: INFO/ActivityManager(1029): Start proc > > com.package.STIX for service com.package.STIX/.TCPClient: pid=25808 > > uid=10062 gids={3003} > > 05-18 17:03:30.731: INFO/dalvikvm(25808): Debugger thread not active, > > ignoring DDM send (t=0x41504e4d l=38) > > 05-18 17:03:30.739: INFO/dalvikvm(25808): Debugger thread not active, > > ignoring DDM send (t=0x41504e4d l=40) > > > > Could someone help me out here? > > > > Thanks!!! > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group athttp:// > groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en