青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
楼主: pwnpc

nibotao08关于NX 8.5启用多核CPU和SMP的问题

  [复制链接]
发表于 2012-11-2 09:27 | 显示全部楼层
关于文件的修改问题 楼主 你查看下 UGII_ENV。DAT文件  是否有指定 UGII_env_ug.dat  看看实际文件吧~
回复 支持 反对

使用道具 举报

发表于 2012-11-2 09:36 | 显示全部楼层
那要到哪里下 专业显卡的驱动呢
回复 支持 反对

使用道具 举报

发表于 2012-11-2 09:43 | 显示全部楼层
支持一个! 狂顶,绝对支持 感谢楼主的分享!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-2 11:25 | 显示全部楼层
richiejen 发表于 2012-11-2 00:39
1 W3 Z2 e7 [# A: p大哥你讲的非常有道理,但我到底如何才能让我的4核cpu全部为ug动起来

- s0 b: g% t) e1 y9 r要让UG完全利用你的4核CPU,可以,开2个,3个,4个或更多个UG进程,同时运行,如开多个UG进程算复杂模具的刀路,这样就能完全利用4核CPU资源。UG又不是只能单进程运行,西门子也从未规定UG只能开一个进程。
9 o/ v8 D* A+ b4 E/ @8 t9 E4 }8 ]( R: M: B/ B- ?5 }" ^* e8 `
-----------------------------------------------------------------------------------------------------------------1 G# U, a8 i$ i
我给你一个链接,里面有西门子UG的产品经理在回复用户关于UG 多核CPU利用率的疑问:
$ u9 \& p. P: X! l" G, u- c( ^; X% I, N$ i; _
CPU Usage with Windows 7 64 bit, NX63 B7 w# e2 C) O" c
http://www.eng-tips.com/viewthread.cfm?qid=318497
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-2 11:29 | 显示全部楼层
本帖最后由 pwnpc 于 2012-11-2 12:05 编辑 . A7 E' |. a7 v
jiajiasj 发表于 2012-11-2 09:27 * b5 x0 b) i( D' Y
关于文件的修改问题 楼主 你查看下 UGII_ENV。DAT文件  是否有指定 UGII_env_ug.dat  看看实际文件吧~

7 s) v1 J9 F; t) {ugii_env.dat中是有定义包含ug_env_ug.dat文件,ug进程执行时前者执行权限高于后者,也即如果有用户在ug_env.dat中进行了设定,优先执行ug_env.dat中该设定要做到优先执行,需要在
#include ${UGII_BASE_DIR}\ugii\ugii_env_ug.dat
) \, t3 G4 K5 d+ I$ b; k/ {
之前进行用户自定义才行。8 x& u. i4 ^5 V9 [/ g

( a" w& ]* t& z- T用户自定义/定制UG配置不是在UGII_env_ug.dat中进行修改,这点毫无疑问。
4 k) |, t2 _6 E8 k
$ g$ c3 J$ [% x( I请参看UGII_env_ug.dat中的NOTE:9 |1 t4 u7 G& t% X6 o" G7 B

  H8 i$ v9 ^* U; v, K5 Z8 ?
NOTE:  Customer changes should be made to the ugii_env.dat file directly,
3 T. b4 t- P$ ^" B) i' G which then includes this file. This file will be replaced when a
; H2 P# a' ], U MR is loaded, so customers should not edit this file.  Environment
% O7 V4 Z; C3 E; ? variables in ugii_env.dat supercede any values here, so override the
* v0 V! g( {; v2 e  d% T+ E defaults by defining the value in the ugii_env.dat file, which will/ z0 t4 N% S( U/ F" a6 s$ X
not be replaced during MR updates.

4 x6 K# f! B2 I9 @# Jugii_env.dat中也有这样的明示:. N3 J' ?! w+ j" p% G; C( q# Z

# W7 b% d( f. g4 @$ g/ R1 f' n
This file should be used to override(覆盖 any standard NX environment variables.4 j1 ]( x$ G- r
The values defined here will take precedence over比...重要,比...优先处理)the NX values, as long as
! d5 V3 s/ i6 a3 Fthey are defined before the #include of ugii_env_ug.dat. This file will not
* Y8 E( u3 T5 k6 ]% l be overwritten by an MR installation.
$ }% \. x( `8 h: E- Y6 s* Q
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-2 11:35 | 显示全部楼层
lihuaili 发表于 2012-11-2 09:36
: Z1 n% \. j. d. n8 p# w% u" V那要到哪里下 专业显卡的驱动呢
# H' R+ l6 `2 z: b. t% U
一般购买专业显卡时就有专业显卡的驱动光盘。更新nvidia quadro驱动到nvidia网站下载,很容易找到。amd ati firepro卡到amd网站下载。
4 U" T. X3 m9 _- ~* V3 Z. R0 G( L
& ?/ P- Z" i4 C
( x. Z# c$ C9 P3 A3 \, M下面举例quadro卡驱动nvidia网站下载页面:
' |/ B" k1 |3 l2 g" O7 z3 f. ~5 v+ L6 d; y- N/ m
2012-11-02_11h34_50.jpg
5 G! n* X5 }6 }' f
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-2 11:49 | 显示全部楼层
本帖最后由 pwnpc 于 2012-11-2 11:51 编辑 & ?! H2 D( C3 Y
richiejen 发表于 2012-11-2 00:39 & N8 F# Z) e) t* F
大哥你讲的非常有道理,但我到底如何才能让我的4核cpu全部为ug动起来
! ^9 Z  ?8 }( b+ ?# Y) t7 V
UG程序进程多开,运行多个UG任务。西门子从未规定UG NX必须只能开一个进程工作。你开一个UG进程进行造型设计,开另外一个进程进行CAM处理,再开一个进程进行NASTRAN有限元分析和模拟仿真,这样就能完全利用4核CPU资源了。问题是你的手脚、精力能应付过来吗?这可不是抬杠。
2 c5 r  j0 {; G1 K2 |/ w8 W- Z% c4 f! ?8 {- A
看西门子PLM的UG产品经理在eng-tips论坛中的留言:. |; s& a. X. ]1 {- T$ P% ]  @3 ]- X

4 k  `9 B; M+ s* p, N: w
With a 4-core system, the best that the Windows task utility will ever report, even if you've maxed-out the entire system, would be 25%.  As Ben alluded to, the 'formula' for what the system is reporting is based on 100 divided by the number of cores.  Don't ask why it's done this way, that's just the way Microsoft decided to handle this issue.4 O# w* \* N. o8 G( |8 a

/ T; v! O1 K6 v& X& T* Q" OJohn R. Baker, P.E.. `6 i! F% ?  H" z9 A" l0 X
Product 'Evangelist'
5 l/ U" @* r5 c: R" M" X" qProduct Engineering Software
$ f. p+ O0 S: @  N! ^5 ^Siemens PLM Software Inc.( }  f, b# v3 Y  j$ }0 f; M
Industry Sector
! C4 Y0 H5 _: r$ n- V' pCypress, CA
SMP stands for 'Statistical Multi-Processing'.  This is what the Software needs to be able to do in order to take advantage of multiple-cores, which is a hardware issue.  So turning this option ON will enable NX to utilize multiple cores at one time when executing code.  Now don't get TOO excited about this since only a limited amount of NX code if able to multi-thread (another 'geek' term for you).  In the case of NX this is generally limited to the modeling area where the Parasolid kernel is doing much of the work.  So the list of operations which can multi-thread (maximum of four simultaneous threads or four cores) include such things as Boolean operations, facet generation, hidden-line-removal, mass property calculations, etc.  These are all basic Parasolid operations which can take advantage of up to four cores at one time.
2 H! x( A% {! V0 G8 V* }( O2 {5 k' j' w8 L+ w  ~" h
Now there are a couple of other 'special' situations which also benefit from multi-cores, one of them being the new 'parallel tool path generation' that Mark talked about.  This is not really multi-threading in the classical sense, but rather multi-processing where a second process it launched in an un/under-used core which then runs in 'parallel' to the regular NX process.  Another example of where this is done is if you use the built-in Movie capture functionality which was added in NX 6.0.  Again, this is an example of multi-processing and not really multi-threading.  And in these special cases that variable has no effect, rather the system just knows that this can work or not based on the system configuration, whereas for the SMP or multi-threading support inside the software, this must be enabled (using the environment variable) BEFORE NX is launched in order to make sure that NX will run in that mode.- C) Q- D) W$ J; C9 T* K

. K+ r% c1 |7 M2 w! }; wAnyway, I hope I didn't confuse you too much.0 C- _6 \1 P2 d0 T% ?  O
/ H2 P4 S6 e9 L5 l, U3 ^1 l0 Z# ?
John R. Baker, P.E.( x' Y8 {9 p9 t1 X
Product 'Evangelist'
/ l  i, y' Y% I/ UProduct Engineering Software  P9 k7 M4 c, B1 O: _' F! {0 {
Siemens PLM Software Inc.' Z; N. b0 g. k5 W. E$ G2 U$ K
Industry Sector
+ _; |/ z8 X/ p. Q  D# |7 _1 J* G! FCypress, CA

$ e3 v) I1 _8 e1 k- p
( f. E* }$ b4 F3 J
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-2 11:53 | 显示全部楼层
LF194508 发表于 2012-11-1 22:58
* v  D  p5 c. U6 J0 I那究竟是改好还是不改好?

; S8 R( L4 v; k! O) l& }$ D不用修改。
1 [' L. g8 X8 S! V你如果真看完并理解了,那么你提的两个问题是多余的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-2 11:56 | 显示全部楼层
本帖最后由 pwnpc 于 2012-11-2 11:57 编辑 . D. m& L7 o5 R5 h. k8 w3 u4 t+ I: `
yuanyoumao 发表于 2012-11-1 18:22
3 r7 z5 \. u* [* K8 p不懂,越搞越糊涂,cpu就是不能达到50%以上

/ K! L1 Y1 ?$ ]  u. {" l/ E) v5 m你多开UG进行多任务处理看看能不能将多核CPU资源利用率开到95%以上?西门子可没规定UG运行时只能运行一个。开三个UG进程,一个CAD,一个CAM,一个CAE,保管完全利用CPU资源。到时的问题就是你的精力和手脚是否能足够应付了。记住,我不是和你抬杠。
/ Z4 `- O2 {8 o* [如下图所示的多进程:
; R& X. t- D/ ?$ l. Z7 X0 y/ g, @) h1 G! P2 c5 e! o3 C
2012-11-02_11h24_49.png
6 o) a" a" s' m* R& N4 C+ r
回复 支持 反对

使用道具 举报

发表于 2012-11-2 12:08 | 显示全部楼层
说的非常有道理,好像本来就不用修改,软件安装好了 就是支持多核处理器的。修改了后 感觉没什么变化。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2024-11-17 12:49 , Processed in 0.048381 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表