- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- streampipes kernel parameter
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 01:31 PM
06-18-2002 01:31 PM
streampipes kernel parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:41 PM
06-18-2002 02:41 PM
Re: streampipes kernel parameter
an ioctl(I_PUSH) call or using the autopush command. These modules typically perform a transformation (e.g. encryption, compression) on the data stream as is passes through the module. These modules serves as filters. When the modules are no longer needed they are generally removed from the IO stream with an ioctl(I_POP) system call.
In any event, you need them. I spent a few minutes regenning the kernel on my 11.11 sandbox and I could not observe any noticable delays associated with typical pipe operations - I did a few pipe commands using dd before and after setting streampipes to 1 and the performance values did not differ significantly. There is almost some additional overhead but the effects appear top be small.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:00 PM
06-18-2002 03:00 PM
Re: streampipes kernel parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:09 PM
06-18-2002 03:09 PM
Re: streampipes kernel parameter
Again, I am speculating as I don't have HP-UX source code but I suspect that the behavior of stream-based pipe will be identical to non-stream based pipes unless modules have been pushed on the stram. This essentially gives the application developer greater flexibility in approaching what is otherwise a difficult task. The only downside that I envision is perhaps just a tiny bit of overhead each time a process opens a pipe; the kernel has to do a little bit extra to allow for the module 'hooks'. I assume that if no modules are pushed what you get are in essence plain, vanilla pipes. I've run a few more operations on my sandbox since enabling the feature and so far I see no difference in behavior and no noticeable difference in performance. The bottom line is that your application has got to be able to push modules so if you want the application, you've got to enable streampipes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 03:51 PM
06-18-2002 03:51 PM
Re: streampipes kernel parameter
There is in fact a (small) overhead in some cases using stream based pipes over file system pipes. Basically the code will delay the hangup of the pipe 10 times before closing to ensure there is no more data to be passed. In real terms this translates to ten context switches or 10 * timeslice, which for most systems will be 0.1 secs. So if your shell script is using lots of pipes, expect the execution time to increase.
This is due to be revised at HPUX 11.23 (11i v 2.3) when the PA-64 and IA-64 systems converge.
Hope this helps.