Deleting buffer cache for IO throughput

by vrukesh » Fri, 29 May 2009 20:35:40 GMT

Sponsored Links

We are writing an application to measure throughput speed of SD card
on ARM-based Android target using Java APIs.

When we execute the application twice for read operation, results are
seen to be affected with buffer cache.

For example, first read throughput is 275 KBps and second read
throughput is 350KBps.

Application is simple Java-based application, it is .jar app. It is
not using the Application class  and hence, not having
AndroidManifest.xml present. ().

Is there any way to clear the buffer cache after each run of the
application ?

Thanks and Regards,

Other Threads

1. Play audio over an active phone call, so other end can hear it

Hi everyone,

Is it possible to play audio over an active phone call, so the other
end can hear it?

For example:
A and B are talking on the phone.
A presses a button that pulls audio from a resource and plays it over
the phone call to B.

If so, what libraries should I look into?

If not, is this something that could become accessible on rooted
phones? (Of course, only other rooted phones would be able to use the
application then...)


2. How i can create usable android project's library

How i can create android project's library that can be used in any
different project.

I create a jar file that contains all activities and add this jar file
into my eclipse project build path. But if i need to use any activity
then i must need to register this jar activity into my project
AndroidManifest.xml. This looks very odd. I need a solution in which i
have a jar or any other deployable file that contains multiple
activities and any user can use them in his project without
registering these jar activities into NEW android application
AndroidManifest.xml file.

Ali Adnan.


3. Integrate InstrumentationTestRunner on adb shell with ant for continuous integration and TDD

4. avoid splash screen if a service is running...

5. change framework assets with alternate home screen

6. change framework assets with alternate home screen

7. building generic donut