02-06-2014, 09:15 PM
There is also this bug to tackle if you want:
http://code.google.com/p/pcsx2/issues/detail?id=1473
I don't know why but Windows is more thread efficient (aka scale much better). I try to port the Window version to pthread but it is not yet perfect. The idea is to port again but to std::thread this time.
1/ would allow to compare with win code
2/ if it work as good as win, we can drop some Os specific code.
Intel provide a tool that allow you to measure thead efficiency. Hopefully with your 8 core cpu, you will be able to check the scaling properly.
Here all the cmake option. Generally the default is a good start
http://code.google.com/p/pcsx2/issues/detail?id=1473
I don't know why but Windows is more thread efficient (aka scale much better). I try to port the Window version to pthread but it is not yet perfect. The idea is to port again but to std::thread this time.
1/ would allow to compare with win code
2/ if it work as good as win, we can drop some Os specific code.
Intel provide a tool that allow you to measure thead efficiency. Hopefully with your 8 core cpu, you will be able to check the scaling properly.
Here all the cmake option. Generally the default is a good start
Code:
head -n 26 cmake/BuildParameters.cmake
### TODO
# Hardcode GAMEINDEX_DIR, if default is fine for everybody
### Select the build type
# Use Release/Devel/Debug : -DCMAKE_BUILD_TYPE=Release|Devel|Debug
# Enable/disable the stripping : -DCMAKE_BUILD_STRIP=TRUE|FALSE
# generation .po based on src : -DCMAKE_BUILD_PO=TRUE|FALSE
# Rebuild the ps2hw.dat file : -DREBUILD_SHADER=TRUE
# Build the Replay Loaders : -DBUILD_REPLAY_LOADERS=TRUE|FALSE
# Use GLSL API(else NVIDIA_CG): -DGLSL_API=TRUE|FALSE
# Use EGL (vs GLX) : -DEGL_API=TRUE|FALSE
# Use SDL2 ; -DSDL2_API=TRUE|FALSE
### GCC optimization options
# control C flags : -DUSER_CMAKE_C_FLAGS="cflags"
# control C++ flags : -DUSER_CMAKE_CXX_FLAGS="cxxflags"
# control link flags : -DUSER_CMAKE_LD_FLAGS="ldflags"
### Packaging options
# Installation path : -DPACKAGE_MODE=TRUE(follow FHS)|FALSE(local bin/)
# Plugin installation path : -DPLUGIN_DIR="/usr/lib/pcsx2"
# GL Shader installation path : -DGLSL_SHADER_DIR="/usr/share/games/pcsx2"
# Game DB installation path : -DGAMEINDEX_DIR="/usr/share/games/pcsx2"
# Follow XDG standard : -DXDG_STD=TRUE|FALSE
#-------------------------------------------------------------------------------