Sponsored Content
Full Discussion: select vs poll
Special Forums IP Networking select vs poll Post 302115912 by smanu on Monday 30th of April 2007 01:03:12 AM
Old 04-30-2007
I guess, I made my statement ambiguous. I mean: I shall experiment asynchronous I/O, the new feature introduced in Solaris 10 & if that improves perfromance, implement the equivalent stuff in Solaris 9.

Now my question is: shouldn't replacing the synchronous calls with asynchronous ones improve the performance?
 

7 More Discussions You Might Find Interesting

1. Programming

How to convert the "select" function into a "poll" function

i have a program using the select function but i want to convert it to poll... how can i do this? thanks in advance... :) (1 Reply)
Discussion started by: rbolante
1 Replies

2. UNIX for Dummies Questions & Answers

Replace select/poll with kqueue/kevent

Hi, As far as I known, kqueue/kevent model can be used to improve the efficiency of systems event dispatching. I m wondering whether kqueue/kevent is same as the real-time OS event model. I also want to know when writing multiplexing app in real-time OS, what APIs need to be used for... (1 Reply)
Discussion started by: bsderss
1 Replies

3. Programming

select/poll and Signal Safety

Hi I am struggling to understand why one should use pselect()/ppoll() instead of wrapping an ordinary select() or poll() call around sigprocmask(). The linux man page talks about “race conditions”, but how would such dangers occur? I plan to use poll() for an application (since ppoll() isn't... (0 Replies)
Discussion started by: nopcoder
0 Replies

4. UNIX for Dummies Questions & Answers

Poll data from a file

I have to write a script where I poll a txt file for data (30 min interval) Dependent on the data read, the script should return a message. It should look something like the "code" below: -- do while <data recived> sleep 30m read data from file Done If <data> x return "A" If... (1 Reply)
Discussion started by: ioniCoder
1 Replies

5. Shell Programming and Scripting

how to poll for new files?

Hi , i have a requirement in which i have to ftp files to unix from windows and vice versa. I have to encrypt files in windows which will then be decrypted in unix and vice versa. Now the process needs to be automated ..therefore when windows server or unix server recieves the files a shell... (5 Replies)
Discussion started by: lifzgud
5 Replies

6. Shell Programming and Scripting

How to use poll() for I/O multiplex

Hi, guys: I want to write my own shell using C. I am confused about the usage of I/O multiplex. Does anyone know some examples or explain it to me ? Thanks so much (1 Reply)
Discussion started by: tomlee
1 Replies

7. What is on Your Mind?

Powerhouses and mainstream poll

This not a joke but a quite serious question to maybe have your point of view about this very topic of content on the net. So I start this poll to ask the users if they can imagine that the so called content industry of former times sooner or later or anyway will regain lost ground or not? Do you... (1 Reply)
Discussion started by: 1in10
1 Replies
NFSIOD(8)						    BSD System Manager's Manual 						 NFSIOD(8)

NAME
nfsiod -- local NFS asynchronous I/O SYNOPSIS
nfsiod [-n num_threads] DESCRIPTION
nfsiod is deprecated. See nfs.conf(5) for NFS configuration info. nfsiod controls the maximum number of asynchronous I/O threads used for NFS mounts. Historically, it has consisted of a daemon that never exits. However, asynchronous I/O requests are now serviced by threads launched on demand in the kernel and the nfsiod command simply sets the configuration limit. Having asynchronous I/O threads improves performance but is not required for correct operation. The options are as follows: -n Specify maximum number of asynchronous I/O threads to be used. If no maximum is specified, nfsiod displays the current value. The default value is 16. A client should allow enough threads to handle its maximum level of concurrency. The nfsiod utility exits 0 on success, and >0 if an error occurs. SEE ALSO
nfs.conf(5), mount_nfs(8), nfsstat(1) HISTORY
The nfsiod utility first appeared in 4.4BSD. It's use was deprecated in Darwin 9. BSD
October 25, 2006 BSD
All times are GMT -4. The time now is 12:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy