in reply to Perl threads - parallel run not working

When browsing the file system, the bottleneck usually is not the CPU but IO, specially if you have mechanical disks. Using threads may actually degrade performance as it increases disk trashing.

So, using threads, only makes sense if you have several physical drives attached to your system and you use one thread for every one of them.

  • Comment on Re: Perl threads - parallel run not working