AIX 에는 epoll 같은 것이 없나요?

musik의 이미지

AIX 에서 향상된 성능의 IO 멀티플렉싱을 위한 설비가 따로 지원되는지 궁금합니다.

리눅스의 epoll 이나 solaris 의 /dev/poll 같이 말입니다.

그냥 select() 와 poll() 만 존재하나요? 그렇다면 낭패인데...ㅠㅠ

경험자분들의 조언을 구합니다. 감사합니다.

sunyzero의 이미지

제가 알기론 5.2 버전까지도 그런 기능이 개발된 적이 없습니다.

AIX 에서는 그냥 poll 을 쓰는 방법외에는 없을듯 싶습니다.

========================================
* The truth will set you free.

체스맨의 이미지

확실하진 않은데 aio 라는 구현이 있을 것 같은데요... aio.h 가 있는지 살펴보시구요. 만일 있고 socket 에 대해서 사용할 수 있다면 윈도 IOCP 정도 구현이 되어있는 겁니다.

Orion Project : http://orionids.org

sunyzero의 이미지

AIO 는 소켓에 쓸 수 없습니다.

IOCP는 윈도우즈 전용으로 압니다.

========================================
* The truth will set you free.

체스맨의 이미지

예 IOCP 는 당연히 윈도 전용이지요. IOCP 처럼 파일 입출력부터 소켓등의 통신까지 다 다룰 수 있다는 의미였습니다. AIO 가 소켓을 지원하도록 구현된 유닉스들이 일부 있다고 들었는데 아닌가요?

Orion Project : http://orionids.org

체스맨의 이미지

다음 글을 보시면 글쓴분이 AIX 3.2.5 에서 aio_write 로 소켓에 쓰는데, 몇몇 데이터가 보내지지 않는다는 질문이 있네요.
같은 머쉰에서 서버-클라이언트가 실행되면 문제 없다는 것으로 봐서는 일단 AIX 에서는 소켓에 AIO 가 지원되지 않나 예상되는데요...

http://groups.google.co.kr/group/comp.unix.aix/browse_thread/thread/3aabe5e2bc96e32c/9932a39ab9564b19%239932a39ab9564b19?sa=X&oi=groupsr&start=1&num=3

Orion Project : http://orionids.org

익명 사용자의 이미지

상당히 구리군요.

익명 사용자의 이미지

http://www-1.ibm.com/support/docview.wss?uid=isg1pTechnote0761

I/O Completion Ports Added by APAR IY06351
Environment
OS level: AIX 4.3 and later

sunyzero의 이미지

IOCP on AIX 에 대해서 알게 되었네요. 위에 손님이 좋은 정보 찾아주셨습니다.

그동안 4.3, 5.x 쓰면서 한번도 안써봤는데 정말 있는줄도 몰랐습니다.

========================================
* The truth will set you free.

musik의 이미지

감사합니다.

성능이 잘 나올지 의심스럽지만... 시도해봐야겠군요

그럼 모두 좋은 하루되세요!

체스맨의 이미지

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.