From subsecret
Jump to: navigation, search
Line 13: Line 13:
  
 
Run on Android:
 
Run on Android:
*Enable USB Debugging on device
+
*Enable USB Debugging on device (https://www.embarcadero.com/starthere/xe5/mobdevsetup/android/en/enabling_usb_debugging_on_an_android_device.html)
 
*Download Android Platform tools: https://developer.android.com/studio/releases/platform-tools
 
*Download Android Platform tools: https://developer.android.com/studio/releases/platform-tools
 
*run
 
*run

Revision as of 15:17, 3 October 2019

BWA Benchmark (SBC)

Using BWA from https://github.com/smikkelsendk/bwa-for-arm/tree/master/bin (with NEON)

Dataset:

  • Run ./bwa index GCF_000005845.2_ASM584v2_genomic.fna.gz
  • 1 thread benchmark
    • ./bwa aln GCF_000005845.2_ASM584v2_genomic.fna.gz ecolireads.fastq.gz > /dev/null
  • 4 threads benchmark
    • ./bwa aln -t4 GCF_000005845.2_ASM584v2_genomic.fna.gz ecolireads.fastq.gz > /dev/null

Run on Android:

adb push BWA-EXECUTABLE /data/local/tmp
adb push GCF_000005845.2_ASM584v2_genomic.fna.gz /data/local/tmp
adb push ecolireads.fastq.gz /data/local/tmp
  • then run
adb shell

You can now generate index and run bwa from directory /data/local/tmp

Results (32 bit)

Device Kernel OS 1 thread walltime (sec.) 4 threads walltime (sec.) MAX threads walltime (sec.)
ODROID-C2 3.16.70-42 Ubuntu 18.04.3 LTS 748 211 211
ODROID-N2 4.9.185-44 Ubuntu 18.04.3 LTS 435 120 97
RPI-3 4.19.58-v7+ Raspbian (Buster) 852 249 249
RPI-4 4.19.58-v7l+ Raspbian (Buster) 459 130 130

Results (64 bit)

Device Kernel OS 1 thread walltime (sec.) 4 threads walltime (sec.) MAX threads walltime (sec.)
ODROID-C2 (Amlogic S905) 3.16.70-42 Ubuntu 18.04.3 LTS 607 178 178
ODROID-N2 (Amlogic 922x) 4.9.185-44 Ubuntu 18.04.3 LTS 344 98 88
Mi 9T Pro (Snapdragon 855) 4.14.83 Android 9 165 46 34
LG G5 (Snapdragon 820) 3.18.71 Android 8 348 126 126