10-20-2011
Thanks for the explanation, and sorry for being dense in my initial reading of it.
Quote:
Originally Posted by
alister
The memset benchmark isn't intended to prove anything except that memset-ing 2 GB takes on the order of a fraction of a second rather than a minute or an hour. Nothing more.
Memsetting
one gig of RAM takes 1.4 seconds for me. Imagine the amount of actual work that computer could've done in that time instead. Congratulations on your fast computer though.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message.
Error: Internal system error: Unable to initialize standard output file
I'm guessing more info might be needed, so let me know.
Thanks (2 Replies)
Discussion started by: firkus
2 Replies
2. Programming
Hi
Having a lil trouble with a rather simple application I'm writing. It so happens that I have to copy some data using memcpy() and so far I've been doing just fine compiling it with VC.Net and running it on Windows XP. Now I'm trying to port the thing to Solaris (which shouldn't really be too... (3 Replies)
Discussion started by: khoma
3 Replies
3. UNIX for Dummies Questions & Answers
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies
4. Programming
Hi ,
I am having records in a file like
00412772784705041008FRUITFUL STRWBRRY
00412772784703041008FRUITFUL STRWBERE
00000570632801448078 X
i have declared a structure like
typedef struct {
char Uname;
char Pname;
... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
5. AIX
--------------------------------------------------------------------------------
Hello, help me please.
I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? :
Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies
6. Programming
Hello everybody,
I'm coding a test program for ARP protocol, and i don't know why i'm getting a SIGSEGV, i traced it with gdb and it says it's due to the memcpy function from /lib/libc.so.6.
Program received signal SIGSEGV, Segmentation fault.
0xb7e9e327 in memcpy () from /lib/libc.so.6
This... (5 Replies)
Discussion started by: Zykl0n-B
5 Replies
7. UNIX for Dummies Questions & Answers
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies
8. Solaris
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Discussion started by: christr
2 Replies
9. Shell Programming and Scripting
Dear All,
I am trying to compile OpenFOAM-1.7.x in RHEL. I could not able to compile some of the applications because of libc version issues.
It is saying
undefined reference to memcpy@GLIBC_2.14
Can anybody look into it?
Thanks & Regards,
linuxUser_ (3 Replies)
Discussion started by: linuxUser_
3 Replies
10. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
LEARN ABOUT CENTOS
perf-bench
PERF-BENCH(1) perf Manual PERF-BENCH(1)
NAME
perf-bench - General framework for benchmark suites
SYNOPSIS
perf bench [<common options>] <subsystem> <suite> [<options>]
DESCRIPTION
This perf bench command is a general framework for benchmark suites.
COMMON OPTIONS
-f, --format=
Specify format style. Current available format styles are:
default
Default style. This is mainly for human reading.
.ft C
% perf bench sched pipe # with no style specified
(executing 1000000 pipe operations between two tasks)
Total time:5.855 sec
5.855061 usecs/op
170792 ops/sec
.ft
simple
This simple style is friendly for automated processing by scripts.
.ft C
% perf bench --format=simple sched pipe # specified simple
5.988
.ft
SUBSYSTEM
sched
Scheduler and IPC mechanisms.
mem
Memory access performance.
all
All benchmark subsystems.
SUITES FOR sched
messaging
Suite for evaluating performance of scheduler and IPC mechanisms. Based on hackbench by Rusty Russell.
Options of messaging
-p, --pipe
Use pipe() instead of socketpair()
-t, --thread
Be multi thread instead of multi process
-g, --group=
Specify number of groups
-l, --loop=
Specify number of loops
Example of messaging
.ft C
% perf bench sched messaging # run with default
options (20 sender and receiver processes per group)
(10 groups == 400 processes run)
Total time:0.308 sec
% perf bench sched messaging -t -g 20 # be multi-thread, with 20 groups
(20 sender and receiver threads per group)
(20 groups == 800 threads run)
Total time:0.582 sec
.ft
pipe
Suite for pipe() system call. Based on pipe-test-1m.c by Ingo Molnar.
Options of pipe
-l, --loop=
Specify number of loops.
Example of pipe
.ft C
% perf bench sched pipe
(executing 1000000 pipe operations between two tasks)
Total time:8.091 sec
8.091833 usecs/op
123581 ops/sec
% perf bench sched pipe -l 1000 # loop 1000
(executing 1000 pipe operations between two tasks)
Total time:0.016 sec
16.948000 usecs/op
59004 ops/sec
.ft
SUITES FOR mem
memcpy
Suite for evaluating performance of simple memory copy in various ways.
Options of memcpy
-l, --length
Specify length of memory to copy (default: 1MB). Available units are B, KB, MB, GB and TB (case insensitive).
-r, --routine
Specify routine to copy (default: default). Available routines are depend on the architecture. On x86-64, x86-64-unrolled,
x86-64-movsq and x86-64-movsb are supported.
-i, --iterations
Repeat memcpy invocation this number of times.
-c, --cycle
Use perf's cpu-cycles event instead of gettimeofday syscall.
-o, --only-prefault
Show only the result with page faults before memcpy.
-n, --no-prefault
Show only the result without page faults before memcpy.
memset
Suite for evaluating performance of simple memory set in various ways.
Options of memset
-l, --length
Specify length of memory to set (default: 1MB). Available units are B, KB, MB, GB and TB (case insensitive).
-r, --routine
Specify routine to set (default: default). Available routines are depend on the architecture. On x86-64, x86-64-unrolled,
x86-64-stosq and x86-64-stosb are supported.
-i, --iterations
Repeat memset invocation this number of times.
-c, --cycle
Use perf's cpu-cycles event instead of gettimeofday syscall.
-o, --only-prefault
Show only the result with page faults before memset.
-n, --no-prefault
Show only the result without page faults before memset.
SEE ALSO
perf(1)
perf 06/30/2014 PERF-BENCH(1)