<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is larger sizes of FIFO from &amp;quot;mkfifo&amp;quot; supported in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060762#M736451</link>
    <description>I am not sure what you mean by V3...would help if you could clarify? All atomic reads and writes to FIFOs are governed by the PIPE_BUF parameter which is defined in the "/usr/include/limits.h" file and is set to 8Kbytes. Don't think it is a good idea to change that value as all pre-compiled applications are making use of it. However if you want to try (just for grins) then it would be better to first open a support call with HP.</description>
    <pubDate>Tue, 31 Jul 2007 10:31:35 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2007-07-31T10:31:35Z</dc:date>
    <item>
      <title>Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060761#M736450</link>
      <description>I've raised the issue long before. On the arriving of V3, it seems that the size of FIFO is still fixed at 8k. I have the impression that someone told me that the size of FIFO can be adjusted between 8 ~ 32 k.&lt;BR /&gt;Is larger sizes of FIFO supported?&lt;BR /&gt;How to change it?</description>
      <pubDate>Tue, 31 Jul 2007 09:43:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060761#M736450</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-07-31T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060762#M736451</link>
      <description>I am not sure what you mean by V3...would help if you could clarify? All atomic reads and writes to FIFOs are governed by the PIPE_BUF parameter which is defined in the "/usr/include/limits.h" file and is set to 8Kbytes. Don't think it is a good idea to change that value as all pre-compiled applications are making use of it. However if you want to try (just for grins) then it would be better to first open a support call with HP.</description>
      <pubDate>Tue, 31 Jul 2007 10:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060762#M736451</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-07-31T10:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060763#M736452</link>
      <description>It's not about the size of atomic writes. It is the size of total bytes that can be written into the fifo before a reader must extract some of them.</description>
      <pubDate>Tue, 31 Jul 2007 19:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060763#M736452</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-07-31T19:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060764#M736453</link>
      <description>In that case the parameter of interest is PIPE_MAX. See the man page of limits(5) for details. Also check out the "RATIONALE" section of the URL listed below.&lt;BR /&gt;&lt;BR /&gt;# man 5 limits&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.opengroup.org/onlinepubs/009695399/functions/write.html" target="_blank"&gt;http://www.opengroup.org/onlinepubs/009695399/functions/write.html&lt;/A&gt;</description>
      <pubDate>Tue, 31 Jul 2007 20:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060764#M736453</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-07-31T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060765#M736454</link>
      <description>&amp;gt;Sandman: I am not sure what you mean by V3&lt;BR /&gt;&lt;BR /&gt;I assume dscao means 11i V3, 11.31.</description>
      <pubDate>Wed, 01 Aug 2007 06:24:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060765#M736454</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-01T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060766#M736455</link>
      <description>I mean HP-UX 11.31 by V3.&lt;BR /&gt;The number of bytes guaranteed to be written atomically is 8K. But here I'm not interested in the atomic writes. I'd like to know how many bytes can be written into a fifo before some bytes must be read out! It is always 8k from 11.00.&lt;BR /&gt;has the limit been lifted?&lt;BR /&gt;Is it adjustable? how?</description>
      <pubDate>Wed, 01 Aug 2007 08:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060766#M736455</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-08-01T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060767#M736456</link>
      <description>&amp;gt;But here I'm not interested in the atomic writes. I'd like to know how many bytes can be written into a fifo before some bytes must be read out!&lt;BR /&gt;&lt;BR /&gt;That's probably what atomic means in this case.  You can only write PIPE_BUF bytes before someone has to read.  This is discussed in the RATIONALE that  Sandman provided, under "Complete/partial/deferred".&lt;BR /&gt;&lt;BR /&gt;I don't see any kernel tunable for pipe or fifo for 11.31.</description>
      <pubDate>Wed, 01 Aug 2007 20:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060767#M736456</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-01T20:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060768#M736457</link>
      <description>This is always going to be a finite limit so if I were designing an application that could take advantage of a larger than expected PIPE_BUF value, I would do a pathconf(_PC_PIPE_BUF) to ask the box itself and then dynamically allocate buffers and adjust my i/o sizes to match. Nothing in the 11.31 documentation suggests that PIPE_BUF is anything other than a constant value. The beauty of asking the box itself and adjusting accordingly it that should the value be bumped up or made adjustable in a future release, you won't have to do anything to your code.</description>
      <pubDate>Wed, 01 Aug 2007 20:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060768#M736457</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-01T20:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060769#M736458</link>
      <description>The application does just this. It restrains itself from sending more than 8K on HP-UX.  A reader extracts the message and does the processing. If the sender can not write more, it returns a message to the client and fails the request. The failure rates are unnecessarily higher, since there are enough CPU cycles but this reader is just temporarily slower down!</description>
      <pubDate>Thu, 02 Aug 2007 04:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060769#M736458</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-08-02T04:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060770#M736459</link>
      <description>If yoy looked at the URL I posted it says that PIPE_BUF is the upper limit to how many bytes can be written to a pipe. Further writes will error out unless the data is first extracted from that pipe or FIFO. Moreover if you read the limits(5) manpage it says that the PIPE_BUF limit may be greater than the specified value on certain HP-UX systems. Why would you be interested in increasing its value from the default of 8K?</description>
      <pubDate>Thu, 02 Aug 2007 09:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060770#M736459</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-08-02T09:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060771#M736460</link>
      <description>A larger size of "fifo" here means a larger buffer between two processes. Under the heavy load, with CPU usage around 90%, a larger buffer compensates for the temporarily slowdown of the reader. Otherwise the reqests are failed because the messages can not be written into the "fifo"&lt;BR /&gt;Messages have very small size, around 200 bytes.&lt;BR /&gt;A kernel parameter "streampipes" can be used to raise the size of "pipe", but not "fifo".&lt;BR /&gt;AIX has a larger size of "fifo" up to 32k, at least. The app runs more stable, even if the CPU usage is around 98%! On HP-UX, there are many failures of requests, even if the CPU usage is at 90%!&lt;BR /&gt;A small margin means a lot in a head to head competition.</description>
      <pubDate>Thu, 02 Aug 2007 22:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060771#M736460</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-08-02T22:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060772#M736461</link>
      <description>It seems that I have to close this thread. This fifo size issue had been raised before HP-UX 11i V2 was released internally. But I'm so disappointed that it is not implemented even in V3! It was very difficult? or was just rebuked by some idealistic experts?</description>
      <pubDate>Sun, 05 Aug 2007 21:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060772#M736461</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-08-05T21:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is larger sizes of FIFO from "mkfifo" supported</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060773#M736462</link>
      <description>I will raised the issue internally and have some patches made for this, provided that it is not difficult to implement!</description>
      <pubDate>Sun, 05 Aug 2007 21:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/is-larger-sizes-of-fifo-from-quot-mkfifo-quot-supported/m-p/5060773#M736462</guid>
      <dc:creator>dscao</dc:creator>
      <dc:date>2007-08-05T21:34:11Z</dc:date>
    </item>
  </channel>
</rss>

