CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Does the calculation speed of Ansys in the Linux system is higher than that in the wi

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2022, 23:03
Default Does the calculation speed of Ansys in the Linux system is higher than that in the wi
  #1
Senior Member
 
Join Date: Dec 2017
Posts: 387
Rep Power: 9
hitzhwan is on a distinguished road
Does the calculation speed of Ansys in the Linux system is higher than that in the window system?
hitzhwan is offline   Reply With Quote

Old   June 23, 2022, 02:44
Default
  #2
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Scientific code depends on ram and CPU being free.

on Linux the code runs natively.

I don't know what's "wl". I think you meant "wsl" i.e windows subsystem for Linux. There, both the windows is and the Linux is has to run together.

We don't even know how much virtual emulation takes place. So, slowdowns are expected.
aerosayan is offline   Reply With Quote

Old   June 23, 2022, 08:51
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
For all practical purposes, the speed is the same. You have to get very creative for the speeds to become significantly different.
LuckyTran is online now   Reply With Quote

Old   June 23, 2022, 20:51
Default
  #4
Senior Member
 
Join Date: Dec 2017
Posts: 387
Rep Power: 9
hitzhwan is on a distinguished road
Quote:
Originally Posted by aerosayan View Post
Scientific code depends on ram and CPU being free.

on Linux the code runs natively.

I don't know what's "wl". I think you meant "wsl" i.e windows subsystem for Linux. There, both the windows is and the Linux is has to run together.

We don't even know how much virtual emulation takes place. So, slowdowns are expected.
Do you mean the calculation speed only depends on the cpu and ram, it does not depends on the system?
hitzhwan is offline   Reply With Quote

Old   June 23, 2022, 20:53
Default 1.Are you sure they are the same? Have you compared in the Ansys calculation? 2. Wha
  #5
Senior Member
 
Join Date: Dec 2017
Posts: 387
Rep Power: 9
hitzhwan is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
For all practical purposes, the speed is the same. You have to get very creative for the speeds to become significantly different.
1.Are you sure they are the same? Have you compared in the Ansys calculation?

2. What is the meaning of "creative"?
hitzhwan is offline   Reply With Quote

Old   June 23, 2022, 22:08
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I have done the test many many years ago. I built two almost nearly identical Nehalem system. One was a 9x0 and the other was a 9x0+10 build. Both ran triple channel DDR3 RAM back when this was state of the art. Both were ram bandwidth limited. One ran windows and the other ran Ubuntu. Today, you are still RAM bandwidth limited unless you have poured a ton of $ into your setup and are using hex/oct-channel setups. If you're not bandwidth limited, then your problem is simply too small to need any RAM and speed was never an issue. I left LES cases running for months and both had identical run times, iteration for iteration, over 3+ months.

I also switched to lower cas latency RAM at one point from latency of 9 to 8 and immediately got a 20% faster calculation time. The operating system is insignificant in a production environment. Millions of other factors are much more meaningful, like what hardware you are actually using.

The difference between a linux environment and windows environment is which compiled variant you are using. Unless you work for Ansys, you are going to be using a pre-compiled distribution where they have already compiled the code for you (because they're not gonna hand over the source code) and to get the compiled version to work, you just need to make sure you have the correct libraries. For windows, this mean you have a specific version of visual c++ installed. And for linux, this means you have the equivalent libraries. The thing is, the visual c++ libraries are derived from the same unix ones. And Ansys has compiled their code with this in mind already. All this is a longwinded way of saying you need to install the prereqs.

What I mean by creative is... you need to compile it from sourcecode with optimizations for your setup. Unless you actually have the source code, you'll never be able to do this. And even if you did, it's not trivial what compilation changes even need to be made to achieve a difference in performance.

So yes, I am sure they are the same. I have done the test. And yes, I wasted several months of cpu time to test something so trivial, I am absolutely ashamed of it.
LuckyTran is online now   Reply With Quote

Old   June 24, 2022, 20:55
Default Hi,thank you so much for your detail information, so in your opinion and experience,
  #7
Senior Member
 
Join Date: Dec 2017
Posts: 387
Rep Power: 9
hitzhwan is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
I have done the test many many years ago. I built two almost nearly identical Nehalem system. One was a 9x0 and the other was a 9x0+10 build. Both ran triple channel DDR3 RAM back when this was state of the art. Both were ram bandwidth limited. One ran windows and the other ran Ubuntu. Today, you are still RAM bandwidth limited unless you have poured a ton of $ into your setup and are using hex/oct-channel setups. If you're not bandwidth limited, then your problem is simply too small to need any RAM and speed was never an issue. I left LES cases running for months and both had identical run times, iteration for iteration, over 3+ months.

I also switched to lower cas latency RAM at one point from latency of 9 to 8 and immediately got a 20% faster calculation time. The operating system is insignificant in a production environment. Millions of other factors are much more meaningful, like what hardware you are actually using.

The difference between a linux environment and windows environment is which compiled variant you are using. Unless you work for Ansys, you are going to be using a pre-compiled distribution where they have already compiled the code for you (because they're not gonna hand over the source code) and to get the compiled version to work, you just need to make sure you have the correct libraries. For windows, this mean you have a specific version of visual c++ installed. And for linux, this means you have the equivalent libraries. The thing is, the visual c++ libraries are derived from the same unix ones. And Ansys has compiled their code with this in mind already. All this is a longwinded way of saying you need to install the prereqs.

What I mean by creative is... you need to compile it from sourcecode with optimizations for your setup. Unless you actually have the source code, you'll never be able to do this. And even if you did, it's not trivial what compilation changes even need to be made to achieve a difference in performance.

So yes, I am sure they are the same. I have done the test. And yes, I wasted several months of cpu time to test something so trivial, I am absolutely ashamed of it.

Hi,thank you so much for your detail information, so in your opinion and experience, there is no difference for the calculation speed of Ansys between the Linux system and Windows system? It has no meaning to compare with them?
hitzhwan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSYS System Coupling Interrupt/Abort Problem ddemiroguzhan ANSYS 0 June 7, 2021 14:54
Problems with staring parallel ANSYS FluentV18 on a Linux system Albert Cheung FLUENT 0 September 3, 2018 23:07
2-way FSI in Ansys CFX 15 LucasGasparino CFX 3 August 6, 2015 03:17
[General] Mac Os x system can't connect to X server when using ssh to access Linux system Ivy Zhou ParaView 2 September 30, 2013 10:21
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56


All times are GMT -4. The time now is 14:04.