???? wrote:
> Dear all:
>
> I have some questions about X test on Solaris.
> Is there any 3D test on OpenSolaris?
> How about the X performance test? I only found X11Bench was mentioned 
> in the performance benchmark links. Is there any other 2D or 3D 
> performance benchmark used for Solaris testing?
> Where can I get the performance test results?
There is a proposal to include x11perf in the X bits.

SPECViewperf 9.0.3 is used to benchmark OpenGL/3D. It does not
build for x86 out of the vanilla sources so we cannot publish
numbers until our changes have been accepted. If you want to
roll your own, here are the diffs I use:

--- ./src/libpng/scripts/makefile.solaris Tue Dec 12 16:26:27 2006
***************
*** 22,28 ****
WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \
-Wmissing-declarations -Wtraditional -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes #-Wconversion
! CFLAGS=-I$(ZLIBINC) -Wall -O \
# $(WARNMORE) -g -DPNG_DEBUG=5
LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng12 -lz -lm

--- 22,28 ----
WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \
-Wmissing-declarations -Wtraditional -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes #-Wconversion
! CFLAGS=-I$(ZLIBINC) -Wall -O3 \
# $(WARNMORE) -g -DPNG_DEBUG=5
LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng12 -lz -lm

--- ./src/vpaux/libtk/Makefile Tue Dec 12 17:11:17 2006
***************
*** 29,35 ****
#INCLUDES=-I/opt/graphics/OpenGL/include

# comment out following line for Sun's and HP-UX OpenGL
! CFLAGS = -O $(INCLUDES)

# uncomment following line for Sun's OpenGL
#CFLAGS = $(INCLUDES) -O
--- 29,35 ----
#INCLUDES=-I/opt/graphics/OpenGL/include

# comment out following line for Sun's and HP-UX OpenGL
! #CFLAGS = -O $(INCLUDES)

# uncomment following line for Sun's OpenGL
#CFLAGS = $(INCLUDES) -O

--- ./src/vpaux/libaux/Makefile Tue Dec 12 17:09:49 2006
***************
*** 27,33 ****
#INCLUDES=-I/opt/graphics/OpenGL/include

# comment out following line for Sun's and HP-UX OpenGL
! CFLAGS = -I../libtk -O

#uncomment next line for Sun's OpenGL
#CFLAGS = -I../libtk $(INCLUDES) -O
--- 27,33 ----
#INCLUDES=-I/opt/graphics/OpenGL/include

# comment out following line for Sun's and HP-UX OpenGL
! #CFLAGS = -I../libtk -O

#uncomment next line for Sun's OpenGL
#CFLAGS = -I../libtk $(INCLUDES) -O

--- ./src/scripts/Makefile.sunx86.release Mon Nov 13 18:16:48 2006
***************
*** 14,24 ****
BCH_OBJS = ${BCH_OBJ} ${EVT_OBJ}
OBJS = ${RND_OBJS} ${BCH_OBJS}

! INCLUDES = -I$(AUX_DIR) -I$(OGLHOME)/include -I/usr/openwin/include
! DEFINES = -DXWINDOWS -DSEARCHPATH -DFUNCTION_CALLS
ENV_C=EnvSUN.c
CCFLAGS =
! CFLAGS = $(EXTRA) $(CCFLAGS) $(INCLUDES) $(DEFINES)
LIBS = -L/usr/openwin/lib/ -Lobjs -Llib/$(TARGET_PLATFORM) -lGL -lGLU 
-lm -lX11 -lXext -laux

include scripts/Makefile.common
--- 14,25 ----
BCH_OBJS = ${BCH_OBJ} ${EVT_OBJ}
OBJS = ${RND_OBJS} ${BCH_OBJS}

! CDEBUGFLAGS = -xO3
! INCLUDES = -I$(AUX_DIR) -I$(OGLHOME)/include -I/usr/openwin/include 
-I$(PNG_DIR)/include
! DEFINES = -DXWINDOWS -DSEARCHPATH -DFUNCTION_CALLS -DPNG
ENV_C=EnvSUN.c
CCFLAGS =
! CFLAGS = $(EXTRA) $(CDEBUGFLAGS) $(CCFLAGS) $(INCLUDES) $(DEFINES)
LIBS = -L/usr/openwin/lib/ -Lobjs -Llib/$(TARGET_PLATFORM) -lGL -lGLU 
-lm -lX11 -lXext -laux

include scripts/Makefile.common

--- ./src/scripts/Makefile.sunx86_64.release Tue Dec 12 16:18:10 2006
***************
*** 1,7 ****
include Vp_objs.unx.func_calls
include options

! TARGET_PLATFORM=Solaris-86_64
RELEASE_OR_DEBUG=Release

AUX_DIR=vpaux/libaux
--- 1,7 ----
include Vp_objs.unx.func_calls
include options

! TARGET_PLATFORM=Solaris-x86_64
RELEASE_OR_DEBUG=Release

AUX_DIR=vpaux/libaux
***************
*** 14,24 ****
BCH_OBJS = ${BCH_OBJ} ${EVT_OBJ}
OBJS = ${RND_OBJS} ${BCH_OBJS}

! INCLUDES = -I$(AUX_DIR) -I$(OGLHOME)/include -I/usr/openwin/include
! DEFINES = -DXWINDOWS -DSEARCHPATH -DFUNCTION_CALLS
ENV_C=EnvSUN.c
CCFLAGS =
! CFLAGS = $(EXTRA) $(CCFLAGS) $(INCLUDES) $(DEFINES)
LIBS = -L/usr/openwin/lib/ -Lobjs -Llib/$(TARGET_PLATFORM) -lGL -lGLU 
-lm -lX11 -lXext -laux

include scripts/Makefile.common
--- 14,25 ----
BCH_OBJS = ${BCH_OBJ} ${EVT_OBJ}
OBJS = ${RND_OBJS} ${BCH_OBJS}

! CDEBUGFLAGS = -xO3
! INCLUDES = -I$(AUX_DIR) -I$(OGLHOME)/include -I/usr/openwin/include 
-I$(PNG_DIR)/include
! DEFINES = -DXWINDOWS -DSEARCHPATH -DFUNCTION_CALLS -DPNG
ENV_C=EnvSUN.c
CCFLAGS =
! CFLAGS = $(EXTRA) $(CCFLAGS) $(INCLUDES) $(DEFINES) -xarch=generic64
LIBS = -L/usr/openwin/lib/ -Lobjs -Llib/$(TARGET_PLATFORM) -lGL -lGLU 
-lm -lX11 -lXext -laux

include scripts/Makefile.common


--- ./src/clock.c Mon Nov 13 18:13:02 2006
***************
*** 27,33 ****
--- 27,35 ----
#include <windows.h>
static DWORD gtime;
#else
+ #if !defined(__sun)
#include <bits/time.h>
+ #endif
#include <stdio.h>
#include <math.h>
#include <stdlib.h>


--- ./src/Configure Tue Dec 12 16:25:43 2006
***************
*** 175,182 ****
2. Solaris-Sparc
3. Linux64
4. Solaris-x86
! 5. AIX
! 6. Other (manual configuration)

Choice:> "

--- 175,183 ----
2. Solaris-Sparc
3. Linux64
4. Solaris-x86
! 5. Solaris-x86_64
! 6. AIX
! 7. Other (manual configuration)

Choice:> "

***************
*** 300,308 ****

;;

! 5 ) echo " Configuring for AIX"
whichCompiler "$input"
cd zlib; chmod 755 configure; './configure'; make; cd ..
cp -f libpng/scripts/makefile.solaris libpng/Makefile
cp -f scripts/Makefile.aix.release Makefile

--- 301,338 ----

;;

! 5 ) echo " Configuring for Solaris-x86_64"
whichCompiler "$input"
cd zlib; chmod 755 configure; './configure'; make; cd ..
+ cp -f libpng/scripts/makefile.sunx86_64 libpng/Makefile
+ cp -f scripts/Makefile.sunx86_64.release Makefile
+
+ if [ ! -d lib/Solaris-x86_64 ]; then
+ mkdir lib/Solaris-x86_64
+ fi
+ if [ ! -d '../viewperf/Solaris-x86_64' ]; then
+ mkdir '../viewperf/Solaris-x86_64'
+ fi
+ if [ ! -d '../pngxor/Solaris-x86_64' ]; then
+ mkdir '../pngxor/Solaris-x86_64'
+ fi
+ if [ ! -d '../vpost/Solaris-x86_64' ]; then
+ mkdir '../vpost/Solaris-x86_64'
+ fi
+
+ CFLAGS="-DLITTLE_ENDIAN -xarch=amd64"
+ INCLUDES="-I/usr/include -I/usr/openwin/include -I../libtk -I../zlib"
+
+ SetOptions "$CFLAGS" "$INCLUDES"
+
+ make clean
+ make
+
+ ;;
+
+ 6 ) echo " Configuring for AIX"
+ whichCompiler "$input"
+ cd zlib; chmod 755 configure; './configure'; make; cd ..
cp -f libpng/scripts/makefile.solaris libpng/Makefile
cp -f scripts/Makefile.aix.release Makefile

***************
*** 329,335 ****

;;

! 6 ) echo " Other"
whichCompiler "$input"
cd zlib; chmod 755 configure; './configure'; make; cd ..
cp -f libpng/scripts/makefile.linux libpng/Makefile
--- 359,365 ----

;;

! 7 ) echo " Other"
whichCompiler "$input"
cd zlib; chmod 755 configure; './configure'; make; cd ..
cp -f libpng/scripts/makefile.linux libpng/Makefile


Reply via email to