LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setarch x86_64 -Z in LINUX (https://www.linuxquestions.org/questions/linux-newbie-8/setarch-x86_64-z-in-linux-766699/)

karthikg29 11-04-2009 01:14 AM

setarch x86_64 -Z in LINUX
 
Hello All

I have migrated my application (in C) from AIX UNIX to HP LINUX platform. The application crashed due to NULL poniter problems. Hence i used the command "setarch x86_64 -Z" which derefferences the NULL poniter and the application started working. But the issue here is that the application too slow.

can anybody advice whether this setarch command will make the application/system slower?

TB0ne 11-04-2009 01:41 PM

Quote:

Originally Posted by karthikg29 (Post 3743729)
Hello All

I have migrated my application (in C) from AIX UNIX to HP LINUX platform. The application crashed due to NULL poniter problems. Hence i used the command "setarch x86_64 -Z" which derefferences the NULL poniter and the application started working. But the issue here is that the application too slow.

can anybody advice whether this setarch command will make the application/system slower?

No, I doubt we can 'advice' you, since you don't say anything about the program, give us details, post any code, or give any error(s).

And what, exactly, do you mean by "HP Linux"?? HP doesn't have their own Linux...they either go with RedHat Enterprise or CentOS.

karthikg29 11-04-2009 11:21 PM

Thanks for your reply.

There is no errors actually. My application runs fine in new LINUX platform. But its too slow. so i doubt on the setarch command that i have used to derefference NULL poniter.

So i wanted to know in general, whether the usage of setarch command with -Z flag will make the system/slower?


All times are GMT -5. The time now is 10:24 AM.