- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is significant performance slow-down when I run a simple zgemv program with multiple instances on a machine.
If running a.exe take x time, when I run 4 a.exe at the same time on this machine, each takes 2x+ time. This is on Linux, multi-core (12), large memory machine. The matrix size is about 1400x1400.
What I can do to improve the performance with multiple instance run here?
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, you should know that linking a very simple zgemv program with Intel MKL will automaticallyparallelize the application and use all available cores on the system. Launching more instances will oversubscribe the resources of your system. In other words running two instances of your simply program will mean you have two different programs each trying to use all 12 cores cores.
Perhaps you want to link the sequential version to run zgemv on just one thread then launch multiple instances. You could also use mkl_set_num_threads() or other available environment variables.
Perhaps you're aware of all this and you were running into something else, but in that case we could use a little more information on how you're linking your program and how you expect to handle parallelism.
Todd
Perhaps you want to link the sequential version to run zgemv on just one thread then launch multiple instances. You could also use mkl_set_num_threads() or other available environment variables.
Perhaps you're aware of all this and you were running into something else, but in that case we could use a little more information on how you're linking your program and how you expect to handle parallelism.
Todd

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page