There is no speed difference using gzip on a ramdisk instead of ssd:
/RAMDISK> time gzip --fast Haiku-r1b2-54154_111_x64.iso
real 3m10,900s
user 3m7,243s
sys 0m1,720s
The profile looks normal to me. Maybe someone experienced could compare it to his system.
profile -o sf9-profile.txt stockfish bench > /dev/null
profiling results for thread "pthread func" (1911):
tick interval: 1000 us
total ticks: 0 (0 us)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 0 (0 us, 0.00%)
no functions were hit
profiling results for thread "pthread func" (1912):
tick interval: 1000 us
total ticks: 0 (0 us)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 0 (0 us, 0.00%)
no functions were hit
profiling results for thread "pthread func" (1913):
tick interval: 1000 us
total ticks: 2293 (2293000 us)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 0 (0 us, 0.00%)
hits unknown image
------------------------------------------------------------------------------
1925 0 5331 /boot/system/bin/stockfish
1 0 5332 /boot/system/lib/libstdc++.so.6.0.25
7 0 5334 /boot/system/lib/libroot.so
hits in us in % image function
------------------------------------------------------------------------------
601 601000 26.21 5331 Eval::evaluate(Position const&)
301 301000 13.13 5331 MovePicker::next_move(bool)
106 106000 4.62 5331 Position::see_ge(Move, Value) const
101 101000 4.40 5331 Position::attackers_to(Square, unsigned long) const
100 100000 4.36 5331 Position::do_move(Move, StateInfo&, bool)
99 99000 4.32 5331 ExtMove* generate<(GenType)0>(Position const&, ExtMove*)
67 67000 2.92 5331 Pawns::probe(Position const&)
61 61000 2.66 5331 Position::set_check_info(StateInfo*) const
60 60000 2.62 5331 prefetch(void*)
56 56000 2.44 5331 TranspositionTable::probe(unsigned long, bool&) const
46 46000 2.01 5331 Position::undo_move(Move)
44 44000 1.92 5331 ExtMove* generate<(GenType)1>(Position const&, ExtMove*)
35 35000 1.53 5331 Position::slider_blockers(unsigned long, Square, unsigned long&) const
28 28000 1.22 5331 Score Pawns::Entry::do_king_safety<(Color)0>(Position const&, Square)
27 27000 1.18 5331 Thread::search()
26 26000 1.13 5331 Score Pawns::Entry::do_king_safety<(Color)1>(Position const&, Square)
25 25000 1.09 5331 ExtMove* generate<(GenType)3>(Position const&, ExtMove*)
21 21000 0.92 5331 Position::key_after(Move) const
21 21000 0.92 5331 Material::probe(Position const&)
21 21000 0.92 5331 ExtMove* generate<(GenType)2>(Position const&, ExtMove*)
16 16000 0.70 5331 Position::pseudo_legal(Move) const
16 16000 0.70 5331 Position::is_draw(int) const
11 11000 0.48 5331 Position::legal(Move) const
6 6000 0.26 5331 MovePicker::MovePicker(Position const&, Move, Depth, ButterflyHistory const*, CapturePieceToHistory const*, Square)
6 6000 0.26 5331 Position::do_null_move(StateInfo&)
5 5000 0.22 5331 Position::gives_check(Move) const
4 4000 0.17 5331 MainThread::check_time()
3 3000 0.13 5331 prefetch2(void*)
3 3000 0.13 5331 MovePicker::MovePicker(Position const&, Move, Depth, ButterflyHistory const*, CapturePieceToHistory const*, PieceToHistory const**, Move, Move*)
2 2000 0.09 5331 MovePicker::MovePicker(Position const&, Move, Value, CapturePieceToHistory const*)
2 2000 0.09 5331 ExtMove* generate<(GenType)5>(Position const&, ExtMove*)
2 2000 0.09 5331 ExtMove* generate<(GenType)4>(Position const&, ExtMove*)
1 1000 0.04 5334 BPrivate::hoardUnlock(mutex&)
1 1000 0.04 5331 UCI::pv(Position const&, Depth, Value, Value)
1 1000 0.04 5334 pow
1 1000 0.04 5334 BPrivate::processHeap::free(void*)
1 1000 0.04 5334 BPrivate::superblock::superblock(int, int, BPrivate::hoardHeap*)
1 1000 0.04 5334 malloc
1 1000 0.04 5334 tolower
1 1000 0.04 5334 _kern_write
1 1000 0.04 5332 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsputn(char const*, long)
1 1000 0.04 5331 TimeManagement::init(Search::LimitsType&, Color, int)
1 1000 0.04 5331 Endgame<(EndgameCode)16, ScaleFactor>::operator()(Position const&) const
profiling results for thread "stockfish" (1909):
tick interval: 1000 us
total ticks: 286 (286000 us)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 0 (0 us, 0.00%)
hits unknown image
------------------------------------------------------------------------------
250 0 5331 /boot/system/bin/stockfish
4 0 5332 /boot/system/lib/libstdc++.so.6.0.25
24 0 5334 /boot/system/lib/libroot.so
hits in us in % image function
------------------------------------------------------------------------------
188 188000 65.73 5331 Bitboards::init()
56 56000 19.58 5331 Bitbases::init()
17 17000 5.94 5334 memset
3 3000 1.05 5331 Thread::Thread(unsigned long)
2 2000 0.70 5332 std::string::append(char const*, unsigned long)
2 2000 0.70 5334 isspace
1 1000 0.35 5331 main
1 1000 0.35 5331 ExtMove* generate<(GenType)4>(Position const&, ExtMove*)
1 1000 0.35 5331 UCI::CaseInsensitiveLess::operator()(std::string const&, std::string const&) const
1 1000 0.35 5332 bool std::has_facet<std::ctype<char> >(std::locale const&)
1 1000 0.35 5332 std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)
1 1000 0.35 5334 _kern_mutex_unlock
1 1000 0.35 5334 _kern_spawn_thread
1 1000 0.35 5334 _kern_write
1 1000 0.35 5334 __mutex_lock
1 1000 0.35 5334 log