You're saying your file is over 5 TB (terabytes) in size... is that what you actually meant? Unless your system has a few TB of memory, good luck.
The differing CPU utilization is probably from a multi-core processor. Without multi-threading, you'll never use more than 1 core at a time.
In reply to Re: Reduce CPU utilization time in reading file using perl
by wink
in thread Reduce CPU utilization time in reading file using perl
by madtoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |