This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 刚运行了一个报表程序,照现在的速度要运行24小时才完成,unix下面有没有让这个进程占用更多资源或者提高优先级别?反正看机器还是75%空着,谢谢!!!!!!!
-oceandeep(北极熊·湖州粽子);
2004-7-20
(#1809614@0)
-
renice?
-canadiantire(水坛轮胎);
2004-7-20
(#1809621@0)
-
谢谢,我执行了renice -n -15 -p pid,好像作用不大,速度跟原来差不多,能不能把nice value降低到0?危险不?
-oceandeep(北极熊·湖州粽子);
2004-7-20
(#1809656@0)
-
我的理解是:这种冬冬只有在CPU很忙的时候才有用。CPU本来就很闲着。说明CPU该给process的时间都给了.还是改进算法帮助更大一点
-canadiantire(水坛轮胎);
2004-7-20
(#1809688@0)
-
事实证明了你说的,程序还是不急不慢地做着,谢谢
-oceandeep(北极熊·湖州粽子);
2004-7-20
(#1809840@0)
-
Make sense.
-sammy(团结认真严肃活泼);
2004-7-21
(#1810733@0)
-
Because your program have lots of IO operation, the CPU is idle for most of the time. sigh. Some so-callled OS expert!
-pleased(please);
2004-7-21
(#1811011@0)
-
I mean that tire, not you.
-pleased(please);
2004-7-21
(#1811013@0)
-
“说明CPU该给process的时间都给了“。如果你的中文的确非常差劲,你可以在谈天说地里发个帖子,问问有没有CSL班。
-canadiantire(水坛轮胎);
2004-7-21
(#1811030@0)
-
赫赫。算了。老兄的语言能力确实不错。
-pleased(please);
2004-7-21
(#1811062@0)
-
Hey. I am wondering if that is caused by priority inversion. Your Chinese version explanation is ok or not.
-pleased(please);
2004-7-21
(#1811072@0)
-
Another possible cause of your phenomena is "priority inversion". But that is rare.
-pleased(please);
2004-7-21
(#1811023@0)
-
你先把"rea-time"是什么搞清楚了在发言也不迟。
-canadiantire(水坛轮胎);
2004-7-21
(#1811071@0)
-
In real time operating system, priority inversion is a big problem.
-pleased(please);
2004-7-21
(#1811074@0)
-
Could you tell me where are you working? Send a PM to me. You are not busy at this time of the day at all. I like your job.
-pleased(please);
2004-7-21
(#1811081@0)
-
It looks that you have 4 cpus. only one cpu is full load. so 25% busy, 75% idle. if u can only use one process. u can speed it up.if the business logic allow u split input to 4 part, and run 4 process parallel, u can make the box 100% busy.
-647i(aaaa);
2004-7-21
{110}
(#1811848@0)
-
typo mistake "It looks that you have 4 cpus. only one cpu is full load. so 25% busy, 75% idle. if u can only use one process. u can NOT speed it up." can -> can't
-647i(aaaa);
2004-7-21
(#1811852@0)
-
i am not sure if u can use command 'top'. with it, you can have a view which program is busy and running on which cpu......
-647i(aaaa);
2004-7-22
(#1811879@0)