SMP users needed to test patch (results)
Saifi Khan
saifi.khan at datasynergy.org
Wed Nov 4 20:20:18 PST 2009
On Thu, 5 Nov 2009, Stathis Kamperis wrote:
>
> Yes, you are right. You need to be running both kernel and world from
> 2.5.x. Sorry for not making it crystal clear from the beginning.
>
> Since you started the buildworld, I'd be glad to hear from you the
> results you got :)
>
Summary
t_mq_parallel_threads passed
t_mq_parallel_fork passed
Details
1. uname -a
DragonFly amd64x2.datasynergy.org 2.5.1-DEVELOPMENT DragonFly v2.5.1.181.gd15a4-DEVELOPMENT #2: Thu Nov 5 20:35:21 IST 2009 root at amd64x2.datasynergy.org:/usr/obj/usr/src/sys/AMD64-P-MQ amd64
2. gcc -v
Using built-in specs.
Target: amd64-pc-dragonflybsd
Configured with: DragonFly/amd64 system compiler
Thread model: posix
gcc version 4.1.2 (DragonFly)
3. test log
Script started on Thu Nov 5 20:55:02 2009
> make
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_ambig.c -o t_mq_ambig
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_close.c -o t_mq_close
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_notify_simple.c -o t_mq_notify_simple
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_open.c -o t_mq_open
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_open_close.c -o t_mq_open_close
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_open_umask.c -o t_mq_open_umask
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_parent_child.c -o t_mq_parent_child
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_parent_child_multmsg.c -o t_mq_parent_child_multmsg
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_prio.c -o t_mq_prio
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_select.c -o t_mq_select
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_send.c -o t_mq_send
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_setattr.c -o t_mq_setattr
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_timedsend.c -o t_mq_timedsend
gcc -std=c99 -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_timedreceive_timeout.c -o t_mq_timedreceive_timeout
gcc -std=c99 -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_timedsend_timeout.c -o t_mq_timedsend_timeout
> make -k run
t_mq_ambig: passed
t_mq_close: passed
t_mq_notify_simple: passed
t_mq_open: passed
t_mq_open_close: passed
t_mq_open_umask: passed
t_mq_parent_child: passed
t_mq_parent_child_multmsg: passed
t_mq_prio: passed
t_mq_select: passed
t_mq_send: passed
t_mq_setattr: passed
t_mq_timedsend: passed
t_mq_timedreceive_timeout: passed
t_mq_timedsend_timeout: passed
> ls -F
Makefile t_mq_open_close* t_mq_send.c
README.freebsd t_mq_open_close.c t_mq_setattr*
TODO t_mq_open_umask* t_mq_setattr.c
etc/ t_mq_open_umask.c t_mq_stress.sh*
functions.list t_mq_parent_child* t_mq_timedreceive_timeout*
t_mq_ambig* t_mq_parent_child.c t_mq_timedreceive_timeout.c
t_mq_ambig.c t_mq_parent_child_multmsg* t_mq_timedsend*
t_mq_close* t_mq_parent_child_multmsg.c t_mq_timedsend.c
t_mq_close.c t_mq_prio* t_mq_timedsend_timeout*
t_mq_notify_simple* t_mq_prio.c t_mq_timedsend_timeout.c
t_mq_notify_simple.c t_mq_select* tfile
t_mq_open* t_mq_select.c typescript
t_mq_open.c t_mq_send*
> cd etc
> ls -F
Makefile t_mq_parallel_fork.c t_mq_sysctl.c
kvm-mqueue.c t_mq_parallel_threads.c
> sysctl -w kern.mqueue.mq_prio_max=200
kern.mqueue.mq_prio_max: 32
sysctl: kern.mqueue.mq_prio_max=200: Operation not permitted
> su -
Password:
amd64x2# sysctl -w kern.mqueue.mq_prio_max=200
kern.mqueue.mq_prio_max: 32 -> 200
amd64x2# ls
. cshrc .klogin .profile d.log d2.log
. history .login .ssh d0.log kernels
amd64x2# exit
logout
> ls
Makefile kvm-mqueue.c t_mq_parallel_fork.c t_mq_parallel_threads.c t_mq_sysctl.c
> ./[K[Kmake
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt -lpthread t_mq_parallel_threads.c -o t_mq_parallel_threads
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt -lpthread t_mq_parallel_fork.c -o t_mq_parallel_fork
t_mq_parallel_fork.c: In function 'main':
t_mq_parallel_fork.c:100: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
t_mq_parallel_fork.c:100: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
t_mq_parallel_fork.c:140: warning: unused variable 'oldprio'
gcc -Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal -Wswitch -Wbad-function-cast -g -lrt t_mq_sysctl.c -o t_mq_sysctl
> ls
Makefile t_mq_parallel_fork t_mq_parallel_threads t_mq_sysctl
kvm-mqueue.c t_mq_parallel_fork.c t_mq_parallel_threads.c t_mq_sysctl.c
> ./t_mq_parallel_threads
passed
> ./t_mq_parallel_fork
passed
>
>
> exit
exit
Script done on Thu Nov 5 20:56:49 2009
Please let me know if the tests ran to your satisfaction.
thanks
Saifi.
More information about the Users
mailing list