시스템관리자의 쉼터 커피닉스 커피향이 나는 *NIX
커피닉스
시스템/네트웍/보안을 다루는 곳
 FAQFAQ   검색검색   멤버리스트멤버리스트   사용자 그룹사용자 그룹   사용자 등록하기사용자 등록하기 
 개인 정보개인 정보   비공개 메시지를 확인하려면 로그인하십시오비공개 메시지를 확인하려면 로그인하십시오   로그인로그인 

가입없이 누구나 글을 쓸 수 있습니다. 공지사항에 대한 댓글까지도..




BBS >> 설치, 운영 Q&A | 네트웍, 보안 Q&A | 일반 Q&A || 정보마당 | AWS || 자유게시판 | 구인구직 || 공지사항 | 의견제시
64비트 바이너리보다 32비트 바이너리가 빠르다?

 
글 쓰기   답변 달기    커피닉스, 시스템 엔지니어의 쉼터 게시판 인덱스 -> *NIX / IT 정보
이전 주제 보기 :: 다음 주제 보기  
글쓴이 메시지
truefeel
카페 관리자


가입: 2003년 7월 24일
올린 글: 1277
위치: 대한민국

올리기올려짐: 2004.1.25 일, 12:36 am    주제: 64비트 바이너리보다 32비트 바이너리가 빠르다? 인용과 함께 답변

Tony Bourke 씨가 테스트하고 얘기하는 것인데, 스팍시스템에 솔라리스 9를 가지고 몇가지를 테스트한 결과 실제로 64비트 바이너리보다 32비트 바이너리가 더 빠른 결과를 얻었다고 합니다.

테스트 환경은 다음과 같습니다.

- Sun Ultra 5
- Solaris 9 for Sparc (패치 크러스터 적용 -> 현재까지의 모든 패치가 적용됨을 의미합니다.)
- Gcc 3.3.2 (32비트와 64비트 바이너리 모두)
- gzip, OpenSSL, MySQL 등의 프로그램 들

완벽히 64비트 시스템이 구축되어 있지 않는 상황에서 테스트한 것 같습니다. 이 결과는 그만큼 64비트환경을 만들고 최적화하기 힘들다라는 것을 나타는 예일 것 같습니다.

OpenSSL 테스트 결과 (길수록 더 좋은 성능)



GNU gzip 테스트 결과 (짧을수록 더 좋은 성능)


MySQL 등의 테스트 결과는 직접 osnews에 올라온 기사를 보세요.
http://www.osnews.com/story.php?news_id=5768
인용:

... 생략 ...
Conclusion

While these tests are limited in scope, and there are far more sophisticated tests that could be performed (such as raw integer and floating point), this is a start, as I haven't seen any 32-bit versus 64-bit tests out there. The lack of other benchmarks seems strange to me; perhaps I didn't look in the right places. (If you know of any published benchmarks comparing 32-bit binary performance versus 64-bit, please let me know).

Keep in mind these tests were performed on the UltraSPARC platform for Solaris 9, and while they probably would have relevance to other operating systems and platforms (such as Linux on x86-64, or FreeBSD on UltraSPARC), specific tests on those platforms would be far more revealing.

So while the tests I ran were on only a few applications and in limited ways, the results seem to show that indeed 64-bits do generally run slower. However, there are there are a few issues to consider.

One issue is that the difference in performance varies not only from application to application, but also what specific operation a given application is performing. Also, the largest disparity I was able to see was around 20%, and not the many-times-slower disparity that I've seen some claim.

Since this was a limited number of applications in limited scenarios, the best way to know for yourself is to give the applications you're concerned about a try in both modes.

In the end it's the library and compiling issues that are the most compelling reasons to stay with 32-bit binaries, and not so much performance or size. I think it's safe to say that you're not missing out by going with the simpler-to-manage 32-bit binaries, unless your application can specifically benefit from 64-bit.
위로
사용자 정보 보기 비밀 메시지 보내기 글 올린이의 웹사이트 방문
이전 글 표시:   
글 쓰기   답변 달기    커피닉스, 시스템 엔지니어의 쉼터 게시판 인덱스 -> *NIX / IT 정보 시간대: GMT + 9 시간(한국)
페이지 1 중 1

 
건너뛰기:  
새로운 주제를 올릴 수 있습니다
답글을 올릴 수 있습니다
주제를 수정할 수 없습니다
올린 글을 삭제할 수 없습니다
투표를 할 수 없습니다


Powered by phpBB © 2001, 2005 phpBB Group