You may want to use something like Devel::Trace or perl -d:DProf to see if you can spot where things are slow in the code. Running memcheck and some io bechmark on the system itself might find something, too....in otherwords, you need to dig a lot deeper.