Skip to content

Instantly share code, notes, and snippets.

@JosephRedfern
Last active September 16, 2015 21:35
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JosephRedfern/57c81ac95bf4f1175e3e to your computer and use it in GitHub Desktop.
Save JosephRedfern/57c81ac95bf4f1175e3e to your computer and use it in GitHub Desktop.
Scaleway ARM machine
joe@beryllium:~$ /usr/sbin/bonnie\++
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.97 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
beryllium 4G 134 99 106807 55 43347 22 613 99 129204 24 6299 157
Latency 64709us 276ms 309ms 19541us 11744us 11209us
Version 1.97 ------Sequential Create------ --------Random Create--------
beryllium -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 11410 74 +++++ +++ 18001 82 13513 84 +++++ +++ 17449 80
Latency 405us 1806us 1957us 473us 36us 371us
1.97,1.97,beryllium,1,1441282082,4G,,134,99,106807,55,43347,22,613,99,129204,24,6299,157,16,,,,,11410,74,+++++,+++,18001,82,13513,84,+++++,+++,17449,80,64709us,276ms,309ms,19541us,11744us,11209us,405us,1806us,1957us,473us,36us,371us
root@beryllium:~# dd bs=1M count=256 if=/dev/zero of=test conv=fdatasync
256+0 records in
256+0 records out
268435456 bytes (268 MB) copied, 2.89126 s, 92.8 MB/s
root@beryllium:~# df -h
Filesystem Size Used Avail Use% Mounted on
none 1010M 0 1010M 0% /dev
tmpfs 203M 13M 190M 7% /run
/dev/nbd0 46G 703M 43G 2% /
tmpfs 1012M 0 1012M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1012M 0 1012M 0% /sys/fs/cgroup
root@beryllium:~# free -m
total used free shared buffers cached
Mem: 2022 370 1652 12 31 309
-/+ buffers/cache: 28 1993
Swap: 0 0 0
root@beryllium:~# ping google.com -c 4
PING google.com (173.194.40.130) 56(84) bytes of data.
64 bytes from par10s10-in-f2.1e100.net (173.194.40.130): icmp_seq=1 ttl=53 time=2.29 ms
64 bytes from par10s10-in-f2.1e100.net (173.194.40.130): icmp_seq=2 ttl=53 time=1.76 ms
64 bytes from par10s10-in-f2.1e100.net (173.194.40.130): icmp_seq=3 ttl=53 time=2.44 ms
64 bytes from par10s10-in-f2.1e100.net (173.194.40.130): icmp_seq=4 ttl=53 time=2.23 ms
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 1.764/2.184/2.441/0.253 ms
root@beryllium:~# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1332.01
Features : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x584
CPU revision : 2
processor : 1
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1332.01
Features : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x584
CPU revision : 2
processor : 2
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1332.01
Features : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x584
CPU revision : 2
processor : 3
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1332.01
Features : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt vfpd32 lpae
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x584
CPU revision : 2
Hardware : Marvell Armada 370/XP (Device Tree)
Revision : 0000
Serial : 0000000000000000
root@beryllium:~#
root@beryllium:~# wget http://cachefly.cachefly.net/100mb.test
converted 'http://cachefly.cachefly.net/100mb.test' (ANSI_X3.4-1968) -> 'http://cachefly.cachefly.net/100mb.test' (UTF-8)
--2015-09-03 11:28:49-- http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net (cachefly.cachefly.net)... 62.210.187.96
Connecting to cachefly.cachefly.net (cachefly.cachefly.net)|62.210.187.96|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: '100mb.test'
100mb.test 100%[==========================================================================================================================================>] 100.00M 50.1MB/s in 2.0s
2015-09-03 11:28:51 (50.1 MB/s) - '100mb.test' saved [104857600/104857600]
@roycewilliams
Copy link

MOTD:

Welcome on Ubuntu Trusty (14.04 LTS) on Scaleway' C1.

  • Kernel: GNU/Linux 3.2.34-30 armv7l - Marvell (Proprietary)
    - This kernel has the best performances on this hardware
    - For mainline kernel with latest features and plenty of mo dules, use a 3.17 kernel instead
  • Distribution: Ubuntu Trusty (14.04 LTS) (2015-09-01) on Ubuntu 14.04.2 LT S
  • Internal ip: [redacted]
  • External ip: [redacted]
  • Disk /dev/nbd0: scw-distrib-ubuntu-trusty-2015-09-01_16:42 (l_ssd 50G)
  • Uptime: 04:16:22 up 1 min, 0 users, load average: 0.54, 0.27, 0.1 0

... and dmesg:

Booting Linux on physical CPU 0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.2.34-30 (build-bot@cloud.online.net) (gcc version 4.9.1 (Ubuntu/Linaro 4.9.1-10ubuntu2) ) #17 SMP Mon Apr 13 15:53:45 UTC 2015
CPU: Marvell PJ4Bv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: Online Labs C1
Using UBoot passing parameters structure
bootconsole [earlycon0] enabled
Reserving training memory: base=0x (null) size=0x2800
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 524287
free_area_init_node: node 0, pgdat c06e9bc0, node_mem_map c0769000
DMA zone: 1616 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 205232 pages, LIFO batch:31
HighMem zone: 2480 pages used for memmap
HighMem zone: 314959 pages, LIFO batch:31
SMP: init cpus
PERCPU: Embedded 8 pages/cpu @c1775000 s10944 r8192 d13632 u32768
pcpu-alloc: s10944 r8192 d13632 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 520191
Kernel command line: earlyprintk=ttyS0 console=ttyS0,9600n8 nousb noplymouth ip=dhcp boot=local root=/dev/nbd0 nbd.max_parts=8
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2047MB = 2047MB total
Memory: 2068144k/2068144k available, 29004k reserved, 1269756K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xf3000000 - 0xfa800000 ( 120 MB)
lowmem : 0xc0000000 - 0xf2800000 ( 808 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc067e000 (6616 kB)
.init : 0xc067e000 - 0xc06b0ac0 ( 203 kB)
.data : 0xc06b2000 - 0xc06ed508 ( 238 kB)
.bss : 0xc06ed52c - 0xc0768b94 ( 494 kB)
Hierarchical RCU implementation.
NR_IRQS:211
Initializing ArmadaXP SOC Timer 0
sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
Initializing cgroup subsys perf_event
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
SMP: prepare CPUs (4 cores)
Setting Clocks for secondary CPUs
Armada-XP Performance Monitor Unit detected (Marvell ID)!!!
hw perfevents: enabled with Armada PJ4 PMU driver, 7 counters available
SMP: CPU 0 Waking up CPU 1
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
SMP: CPU 0 Waking up CPU 2
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
SMP: CPU 0 Waking up CPU 3
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (5328.07 BogoMIPS).
devtmpfs: initialized
xor: measuring software checksum speed
arm4regs : 1289.200 MB/sec
8regs : 946.800 MB/sec
32regs : 1229.200 MB/sec
xor: using function: arm4regs (1289.200 MB/sec)
NET: Registered protocol family 16
Aurora: Working in ARMv7 mode
L0 cache Enabled
Speculative Prefetch Disabled
Aurora L2 Cache Enabled
Support IO coherency.

Marvell Armada-XP RD-AXP-CUSTOMER Board - Soc: MV88F7846 Rev 2 LE
Detected Tclk 250000000, SysClk 667000000, FabricClk 667000000, PClk 1333000000
LSP version: linux-3.2.34-axp_a370-2012_Q4.1p5

Warning Integrated USB 0 is Powered Off

Warning Integrated USB 1 is Powered Off

Warning Integrated USB 2 is Powered Off
bio: create slab at 0
raid6: int32x1 150 MB/s
raid6: int32x2 251 MB/s
raid6: int32x4 222 MB/s
raid6: int32x8 230 MB/s
raid6: using algorithm int32x2 (251 MB/s)
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
Switching to clocksource axp_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 32
Unpacking initramfs...
Freeing initrd memory: 4048K
PCI-E: Cheking physical bus #0 (controller #0): Disabled
PCI-E: Cheking physical bus #1 (controller #8): Enabled - No Link
cesadev_init(c0685bf0)
mvCesaInit: channels=2, session=640, queue=64
Armada XP hwmon thermal sensor initialized.
ArmadaXP Power Managament Suspend Operations Initialized
Initializing Armada-XP CPU power management (WFI)
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 1567
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Initializing ths8200_init
Initializing dove_adi9889_init
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 41) is a 16550A
console [ttyS0] enabled, bootconsole disabled
loop: module loaded
nbd: registered device at major 43
rbd: loaded rbd (rados block device)
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: cannot get clkdev
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 55
ata2: SATA max UDMA/133 irq 55
mv_eth_probe: port_mask=0xf, cpu_mask=0xf
0 - Base 0x00000000 , Size = 0x80000000.
4 - Base 0xf4000000 , Size = 0x00100000.
8 - Base 0xe0000000 , Size = 0x02000000.
10 - Base 0xe2000000 , Size = 0x02000000.
12 - Base 0xe4000000 , Size = 0x02000000.
14 - Base 0xe6000000 , Size = 0x02000000.
16 - Base 0xe8000000 , Size = 0x02000000.
20 - Base 0xea000000 , Size = 0x02000000.
24 - Base 0xec000000 , Size = 0x02000000.
26 - Base 0xee000000 , Size = 0x02000000.
28 - Base 0xf1000000 , Size = 0x00100000.
30 - Base 0xf0000000 , Size = 0x01000000.
38 - Base 0xfff00000 , Size = 0x00100000.
39 - Base 0xf2000000 , Size = 0x02000000.
41 - Base 0xc8010000 , Size = 0x00010000.
42 - Base 0xf4480000 , Size = 0x00010000.
43 - Base 0xf4500000 , Size = 0x00100000.
o 4 Giga ports supported
o SKB recycle supported (Enabled)
o NETA acceleration mode 1
o RX Queue support: 8 Queues * 128 Descriptors
o TX Queue support: 8 Queues * 532 Descriptors
o GSO supported
o GRO supported
o Receive checksum offload supported
o Transmit checksum offload supported
o Driver ERROR statistics enabled
ata1: failed to resume link (SControl 4)
ata1: SATA link down (SStatus 0 SControl 4)

o Loading network interface(s)

o Port 0 is connected to Linux netdevice
giga p=0: mtu=1500, mac=f2035e74
o eth0, ifindex = 2, GbE port = 0

o Warning: GbE port 1 is powered off

o Warning: GbE port 2 is powered off

o Warning: GbE port 3 is powered off

Cycles: Counter=0, opIdx=17, overhead=13, max=0xffffffff
Instr: Counter=1, opIdx=8, overhead=13, max=0xffffffff
IcMiss: Counter=2, opIdx=96, overhead=0, max=0xffffffff
DcRdMiss: Counter=3, opIdx=65, overhead=0, max=0xffffffff
DcWrMiss: Counter=4, opIdx=67, overhead=0, max=0xffffffff
dTlbMiss: Counter=5, opIdx=113, overhead=0, max=0xffffffff

sky2: driver version 1.30
mousedev: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
ata2: failed to resume link (SControl 4)
ata2: SATA link down (SStatus 0 SControl 4)
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
oprofile: using arm/mrvl_pj4b
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Registering the dns_resolver key type
libceph: loaded (mon/osd proto 15/24, osdmap 5/6 5/6)
VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
registered taskstats version 1
rtc-mv rtc-mv: setting system clock to 2015-09-04 04:14:52 UTC (1441340092)
pool #0: pkt_size=1536, buf_size=1632 - 2048 of 2048 buffers added
eth0: link up
eth0: started
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 10.1.31.34, my address is [redacted]
eth0: stopped
stack pool #0: pkt_size=1536, buf_size=1632 - 2048 of 2048 buffers free
pool #0: pkt_size=9024, buf_size=9120 - 2048 of 2048 buffers added
eth0: link up
eth0: started
eth0: change mtu 1500 (buffer-size 1536) to 9000 (buffer-size 9024)
IP-Config: Complete:
device=eth0, addr=[redacted], mask=255.255.254.0, gw=10.1.22.1,
host=c1-10-1-22-17, domain=cloud.online.net, nis-domain=(none),
bootserver=10.1.31.34, rootserver=10.1.31.34, rootpath=, mtu=9000
Freeing init memory: 200K
EXT3-fs (nbd0): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (nbd0): error: couldn't mount because of unsupported optional features (244)
eth0: no IPv6 routers present
EXT4-fs (nbd0): recovery complete
EXT4-fs (nbd0): mounted filesystem with ordered data mode. Opts: (null)
init: plymouth-upstart-bridge main process (930) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: plymouth-upstart-bridge main process (942) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
init: plymouth-upstart-bridge main process (945) terminated with status 1
init: plymouth-upstart-bridge main process ended, respawning
systemd-udevd[1161]: starting version 204
init: failsafe main process (1412) killed by TERM signal
init: plymouth-upstart-bridge main process ended, respawning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment