Faster Reloads With “Core Control”

QlikView is multi-threaded in many areas but not during the load process. Next time you’re running a load script, open the Windows Task Manager. If you have 2 cores, the processor usage will never go above 50%. You can to do this while QlikView is running and see what actions are single- and multi-threaded.

Load times on large datasets can be dramatically improved by splitting the reload process into pieces and assigning pieces to separate cores. A good place to start is monitoring how your Windows installation allocates processes to cores. I’ve only seen one tool that shows processes on each core. If you know of any others, please post a comment.

Now that you have evaluated the automatic allocation, how can you specify the core directly? One tool that ships with Windows is the Task Manager. Unfortunately, it can only alter a running process and it does not save your configuration for the next run. NOTE: Vista allows command-line affinity setting and Server 2008 might as well.

There are several choices of utilities to control core affinity. Some are command-line such as BeyondLogic’s, others have a GUI and store your choice for the future such as Tom’s Hardware Guide’s. The downside with THG’s tool is that you will need to make copies of QV.exe with different names so each gets a unique process name. The upside is that the CPU affinity setting is automatic.

Obviously, trying to do this with Publisher would be a challenge. The upcoming Publisher 8.5 will support command-line execution which may work with these utilities, however you will lose visibility in the Publisher console. It’s all tradeoffs, but at least CPU affinity is another tool in your belt.

cpu1.png CPU Control

ttam_add_application.gif  Tom’s Hardware Guide Task Assignment Manager

Related posts:

  1. QlikView Scalability

This entry was posted in QlikView and tagged . Bookmark the permalink.

3 Responses to Faster Reloads With “Core Control”

  1. Brent says:

    Nice Post. Can you post the command line affinity options for Vista..

  2. payday loans says:

    I am very impressed with the article I have just read. I wish the writer of andpointsbeyond.com can continue to provide so much practical information and unforgettable experience to andpointsbeyond.com readers. There is not much to tell except the following universal truth: Murphy’s Law is always true, except if you decide to depend on it. I will be back.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>