Menu

Monitor Linux Memory Bandwidth


Requirements
  • glibc 2.14 / Intel
  • nasm - General-purpose x86 assembler
Installing Memory Bandwidth
Download The Package From Here
https://www.mediafire.com/?yenef2319acep6p


Install Requirement nasm

 RedHat
# yum -y install nasm
Debian 
# apt-get install nasm
Gentoo 
# emerge nasm
Arch Linux 
# pacman -S nasm
FreeBSD
# pkg install nasm
Now unzip it

# tar zxvf bandwidth-1.2.0.tar.gz
# cd bandwidth-1.2.0
Now we can create the executable by typing:
# make bandwidth64
Commands available for compiling 

To compile for x86 Linux: make bandwidth32
To compile for x86_64 Linux: make bandwidth64
To compile for x86 Mac OS/X: make bandwidth-mac32
To compile for x86_64 Mac OS/X: make bandwidth-mac64
To compile for ARM Linux: make bandwidth-arm32
To compile for x86 Win32/Cygwin: make bandwidth-win32
Note: For the Mac you will need to install the latest NASM; Apple's is insufficient.

Successful! Now let's run bandwidth64
# ./bandwidth64
Output
This is bandwidth version 1.1.

Copyright (C) 2005-2015 by Zack T Smith.
This software is covered by the GNU Public License.
It is provided AS-IS, use at your own risk.
See the file COPYING for more information.

CPU family: GenuineIntel
CPU features: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AES XD Intel64

Cache 0: L1 data cache, line size 64, 8-ways, 64 sets, size 32k
Cache 1: L1 instruction cache, line size 64, 4-ways, 128 sets, size 32k
Cache 2: L2 unified cache, line size 64, 8-ways, 512 sets, size 256k
Cache 3: L3 unified cache, line size 64, 16-ways, 12288 sets, size 12288k

Notation: B = byte, kB = 1024 B, MB = 1048576 B.

CPU speed is 3458.2 MHz.

Sequential read (128-bit), size = 128 B, loops = 2114977792, 51635.0 MB/s
Sequential read (128-bit), size = 256 B, loops = 1162084352, 56740.6 MB/s
Sequential read (128-bit), size = 384 B, loops = 774719946, 56736.7 MB/s
Sequential read (128-bit), size = 512 B, loops = 581042176, 56739.8 MB/s
Sequential read (128-bit), size = 640 B, loops = 464831081, 56735.2 MB/s
Sequential read (128-bit), size = 768 B, loops = 387359973, 56734.4 MB/s
Sequential read (128-bit), size = 896 B, loops = 332022834, 56738.5 MB/s
Sequential read (128-bit), size = 1024 B, loops = 290586624, 56743.8 MB/s
Sequential read (128-bit), size = 1280 B, loops = 232413324, 56740.8 MB/s
Sequential read (128-bit), size = 2 kB, loops = 145260544, 56737.8 MB/s
Sequential read (128-bit), size = 3 kB, loops = 96838885, 56736.9 MB/s
Sequential read (128-bit), size = 4 kB, loops = 72630272, 56742.0 MB/s
Sequential read (128-bit), size = 6 kB, loops = 48417226, 56738.5 MB/s
Sequential read (128-bit), size = 8 kB, loops = 36315136, 56740.0 MB/s
Sequential read (128-bit), size = 12 kB, loops = 24214074, 56741.2 MB/s
Sequential read (128-bit), size = 16 kB, loops = 18157568, 56735.7 MB/s
Sequential read (128-bit), size = 20 kB, loops = 14525784, 56740.4 MB/s
Sequential read (128-bit), size = 24 kB, loops = 12104820, 56735.9 MB/s
Sequential read (128-bit), size = 28 kB, loops = 10375560, 56738.7 MB/s
Sequential read (128-bit), size = 32 kB, loops = 8742912, 54640.6 MB/s
Sequential read (128-bit), size = 34 kB, loops = 6781113, 45025.7 MB/s
Sequential read (128-bit), size = 36 kB, loops = 5341700, 37553.3 MB/s
Sequential read (128-bit), size = 40 kB, loops = 4810806, 37580.8 MB/s
Sequential read (128-bit), size = 48 kB, loops = 4013100, 37622.4 MB/s
Sequential read (128-bit), size = 64 kB, loops = 3014656, 37673.6 MB/s
www.hackthesec.co.in

About Author:


I am a Linux Administrator and Security Expert with this site i can help lot's of people about linux knowladge and as per security expert i also intersted about hacking related news.TwitterFacebook

Next
Newer Post
Previous
Older Post

0 comments:

Post a Comment

 
Top