LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2004, 06:51 PM   #1
ayb
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
How do i increase the size of the linux fifo's currently set to 4K in 2.6 kernel ?


I have a IPC library using fifos. Currently the size of fifo is limited to 4K.

1) Is there a way to increase this size by simply changing the #define in the kernel for this fifo size and recompiling the kernel ?

2) Would this be a problem on linux 2.6 kernel since its preemptive ?

I can't use shared memory for performance reasons and can't use sockets since it leads to deadlock conditions because of not having a server-client model.

I would appreciate any help/pointers from you folks ?

Thanks.
 
Old 06-24-2004, 10:15 PM   #2
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
the only limits imposed on pipes and FIFOS are the maximum number of open descriptors and the maximum # of bytes that can be written atomically, and then obviously the free space left on the file system that the FIFO file resides on. w/e u may be experiencing has nothing to do with kernel limits.
 
Old 06-25-2004, 08:55 AM   #3
ayb
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I am sorry. I didn't ask the question properly in the first place.
I am trying to find out if there is a way to change the maximum # of bytes
that can be written atomically. Currently as per my understanding, it
is set to 4K which is a Page Size.

Is there any way to change this constant ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase the serial transmit buffer size in the Kernel. pwlodarczyk Programming 13 01-21-2009 05:39 PM
How do you increase a kernel stack size? ginda Linux - Newbie 4 01-24-2005 07:52 PM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 08:13 AM
Increase the size of linux partition sandy Linux - General 3 10-18-2002 03:53 AM
Installing a second HD: How do I increase the size of a Linux partition? entm Linux - General 3 06-01-2002 03:10 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration