Skip to content

Instantly share code, notes, and snippets.

View uditagarwal97's full-sized avatar
💭
I'm on vacation and may be slow to respond.

Udit Kumar Agarwal uditagarwal97

💭
I'm on vacation and may be slow to respond.
View GitHub Profile
@uditagarwal97
uditagarwal97 / config
Created July 29, 2018 01:27
DOSFS: Effect of IO block size on DOSFS
[global]
ioengine=sync
size=100M
rw=randrw
directory=/mnt/1
thread=1
ss_ramp=8
[fat-randrw-sync-64k]
bs=64k
@uditagarwal97
uditagarwal97 / config
Created July 28, 2018 22:56
RFS IO block size
[global]
ioengine=sync
size=100M
rw=rw
directory=/mnt/1
thread=1
ss_ramp=8
[rfs-rw-sync-64k]
bs=64k
@uditagarwal97
uditagarwal97 / job config
Last active July 28, 2018 22:38
RTEMS benchmark: RFS ioengine differences
[global]
ioengine=sync
size=100M
rw=randwrite
directory=/mnt/1
thread=1
steadystate=bw:455
[rfs-randwrite-sync]
bs=4k
@uditagarwal97
uditagarwal97 / imfs-rw-cfg1
Last active July 27, 2018 08:14
RTEMS BENCHAMRK: effect of cache size on bandwidth. ioengine = sync, bs=4k
imfs-rw-cfg1-4k: (g=0): rw=rw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=sync, iodepth=1
fio-3.6-149-g82eb4-dirty
Starting 1 thread
imfs-rw-cfg1-4k: Laying out IO file (1 file / 80MiB)
imfs-rw-cfg1-4k: (groupid=0, jobs=1): err= 0: pid=1: Fri Jan 1 00:00:24 1988
read: IOPS=27.9k, BW=109MiB/s (114MB/s)(40.1MiB/367msec)
clat (usec): min=4, max=149, avg=15.95, stdev= 3.69
lat (usec): min
@uditagarwal97
uditagarwal97 / imfs-sync-128-randread
Created July 25, 2018 00:39
RTEMS IMFS benchmark
imfs-randread-128: (g=0): rw=randread, bs=(R) 128B-128B, (W) 128B-128B, (T) 128B-128B, ioengine=sync, iodepth=1
fio-3.6-148-g2084b-dirty
Starting 1 thread
imfs-randread-128: Laying out IO file (1 file / 80MiB)
Jobs: 1 (f=1): [r(1)][100.0%][r=10.3MiB/s,w=0KiB/s][r=84.5k,w=0 IOPS][eta 00m:00s]
imfs-randread-128: (groupid=0, jobs=1): err= 0: pid=1: Fri Jan 1 00:00:32 1988
read: IOPS=85.4k, BW=10.4MiB/s (10.9MB/s)(80.0MiB/7675msec)
clat (nsec): min=1542, max=7339.7k, avg=
@uditagarwal97
uditagarwal97 / fat-filecreate
Last active July 22, 2018 02:02
RTEMS FAT filesystem benchmark
fat-write: (g=0): rw=write, bs=(R) 512B-512B, (W) 512B-512B, (T) 512B-512B, ioengine=filecreate, iodepth=1
fio-3.6-146-g48c2b-dirty
Starting 1 thread
fat-write: (groupid=0, jobs=1): err= 0: pid=1: Fri Jan 1 00:00:40 1988
write: IOPS=1000, BW=500KiB/s (512kB/s)(512B/1msec)
clat (nsec): min=160959, max=160959, avg=160959.00, stdev= 0.00
clat percentiles (usec):
@uditagarwal97
uditagarwal97 / RFS-filecreate-2-threads
Last active July 25, 2018 03:06
RTEMS RFS filesystem benchmarking results
t0: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=filecreate, iodepth=1
t1: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=filecreate, iodepth=1
fio-3.6-148-g2084b-dirty
Starting 2 threads
t0: (groupid=0, jobs=1): err= 0: pid=1: Fri Jan 1 00:00:32 1988
read: IOPS=8000, BW=31.2MiB/s (32.8MB/s)(800KiB/25msec)
clat (usec): min=31, max=241, avg=87.11,
@uditagarwal97
uditagarwal97 / 0001-Updated-MMCCAM-stack-to-898d1917b8.patch
Last active July 1, 2018 13:15
BACKPORTING MMCCAM stack to Freebsd head 642b174dadd
From e9267ca373c1aa4fdcd838bd53ea6a185318036e Mon Sep 17 00:00:00 2001
From: Udit kumar agarwal <dev.madaarigmail.com>
Date: Wed, 27 Jun 2018 19:22:24 +0530
Subject: [PATCH] Updated MMCCAM stack to 898d1917b8
---
sys/dev/sdhci/sdhci.c | 28 +++++++++++++++-------------
sys/dev/sdhci/sdhci.h | 7 +++++++
sys/modules/Makefile | 2 ++
sys/modules/sdhci/Makefile | 2 +-
@uditagarwal97
uditagarwal97 / log
Created June 22, 2018 02:37
freebsd-current MMCCAM status
ARM Debug Architecture not supported
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #0: Thu Jun 21 21:20:07 UTC 2018
root@:/BBB/obj/BBB/src/arm.armv7/sys/GENERIC-MMCCAM arm
@uditagarwal97
uditagarwal97 / Read test
Created June 19, 2018 15:29
FIO benchmarking results for RTEMS
SHLL [/media/mmcsd-0-0] # fio test.fio
read: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=sync, iodepth=1
fio-3.6-60-g62d6a-dirty
Starting 1 thread
read: Laying out IO file (1 file / 400MiB)
Jobs: 1 (f=1): [R(1)][100.0%][r=904KiB/s,w=0KiB/s][r=226,w=0 IOPS][eta 00m:00s]
read: (groupid=0, jobs=1): err= 0: pid=1: Fri Jan 1 01:09:56 1988
read: IOPS=201, BW=804KiB/s (824kB/s)(400MiB/509274msec)
clat (usec): min=3315, max=20475, avg=4961.87, stdev=954.06
lat (usec): min=3316, max=20476, avg=4962.70, stdev=954.07