So the age of the multicore cpu has been here awhile. Many tech pundits had always predicted that the software would have to change dramatically to utilize the extra cores. Now that we have them what are we waiting for?
On my Java Christmas wish list is a class similar to GZIPInputStream that would handle files compressed by pigz. Not really sure that a replacement of GZIPInputStream is in order since obviously it is designed to read from FileInputStream. Perhaps FileInputStream needs to be altered to be multithreaded. Or perhaps a new PIGZInputStream that can directly read from the file instead of the FileInputStream is in order.
Understand that I am not looking for max improvement on multicore PC. With it's single drive the heads would do more seeking then the single threaded implementation of GZIPInputStream. What I want is the ability to use multiple threads to access a file striped across multiple drives. So when I apply this to a server environment, then each thread would end up directing each disk to get it's particular portion of the file.
More than likely what I will get out of Oracle will be a big lump of single threaded coal. But we can wish can't we?
Tuesday, December 21, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment