为什么我不使用100%? [英] Why I'm not using 100%?

查看:154
本文介绍了为什么我不使用100%?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在IBM WebSphere Application Server v8.5.5.1中执行一个长时间运行的批处理流程,该流程从ECM存储库获取数据,然后将其转换为PDF文档。它运行大约20k的小文档,组成整批。

I'm executing a long running batch process in IBM WebSphere Application Server v8.5.5.1, which is getting data from a ECM repository, and afterwards converting it to PDF document. It runs about 20k of small documents, which compose the whole batch.

现在我得到大约20个docs / sec,但系统只有45-55左右%cpu使用率,所以有些东西阻止我让它全速运行

Right now I'm getting about 20 docs/sec, but the System is only about 45-55% cpu usage, so something is preventing me to get it to work at full throttle

我在HP Proliant DL385p Gen8(32GB RAM)上运行Windows 2012 R2 Standard ,2 x AMD Opteron 6272,每个具有16个2.1GHz内核)

I'm running in Windows 2012 R2 Standard on an HP Proliant DL385p Gen8 (32GB RAM, 2 x AMD Opteron 6272 each with 16 2.1GHz cores )

所有资源都是本地存储的,因此几乎不会有任何网络流量困扰。

All resources are locally stored, so almost no network traffic should be bothering.

我也尝试将PDF输出文档写入RAMDISK,但根本没有任何改进。

I've also tried to write the PDF output documents to a RAMDISK, but there's no improvement at all.

任何想法应该在哪里我试着让这个过程使用我服务器的全部功能吗?

Any ideas of where should I peek to let this process use the whole power of my server?

谢谢!!

PS:请参见附件参考图片

PS: Please see attached reference image

CPU用法图

推荐答案

我认为实际问题是你完全使用一个CPU而不是另一个CPU。

I think the actual issue is that you're fully using one CPU but not the other.

好消息是,您可以轻松地多线程化您的应用程序以使用两个处理器;只需设置一个任务队列,并使用你拥有的工作线程数,直到达到100%的使用率。

The good news is that you can probably easily multithread your application to use both processors; just set up a task queue and play around with the number of worker threads you have until you achieve 100% usage.

这篇关于为什么我不使用100%?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆