Sponsored Content
Full Discussion: select vs poll
Special Forums IP Networking select vs poll Post 302115830 by smanu on Friday 27th of April 2007 07:18:43 PM
Old 04-27-2007
Hi,

Srinivasan: Thanks for the information. That was exactly something I was looking out for. Do you by any chance have any idea about how much performance improvement can be achieved by replacing poll with Asynchronous I/O framework.

Porter: How do I check if my system is BSD derived or V derived?

/smanu.
 

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
mkatfs(1)							    ShapeTools								 mkatfs(1)

NAME
mkatfs - create and configure AtFS object repository and derived object cache SYNOPSIS
mkatfs [-cAmax_cached_per_cacheattr] [-cNmax_cached_per_name] [-cTmax_total_cached] [-cQ] [-ggroup] [-h] [-lpath] [-mmode] [-v] pathnames DESCRIPTION
mkatfs may be used to create an AtFS object repository, to link an existing repository, to configure a repository, or to set the size attributes of an derived object cache. It applies to all directories occurring in the pathnames list. If the list is empty, mkatfs performs its action in the current directory. Creating an AtFS object repository makes a directory named AtFS with several files and subdirectories in it. The -l option causes mkatfs to link an existing AtFS repository to the current directory (or the directories in the pathnames list). The -l option expects a pathname to a directory containing an AtFS repository or a link to an AtFS repository (links may be chained) as argu- ment. When linking a repository, mkatfs either creates a symbolic link or, if symbolic links are not available on your system, a file con- taining the name of the target directory. The latter will be interpreted by AtFS like a symbolic link. Configuring an AtFS repository means, that the group and the protection may be changed. These operations perform a chgrp(1) and a chmod(1) operation on the AtFS directory and all its subdirectories. The -cT, -cN, and -cA options set the size of the derived object cache in the created AtFS object repository. You may set the maximum total number (cT) of derived files to be stored, the maximum number of derived files per name (cN) and the maximum number of derived files with the same name and the same caching attribute (cA). The relationship of the three values must always be cT >= cN >= cA. For more information on that topic check the cacheadm(1) manual page. The -cQ option queries the actual settings for the derived object cache size. OPTIONS
-cA max_cached_per_cacheattr Set the maximum number of derived files with the same name and the same caching attribute to be stored. Default is 1. -cN max_cached_per_name Set the maximum number of derived files with the same name to be stored. Default is 3. -cT max_total_cached Set the total maximum number of derived files to be stored in the derived object cache. Default is 64. -g group Set the group id of the generated directory to group (see chgrp(1)). -h Display help message. -l path Create an AtFS directory entry by setting a symbolic link to an existing AtFS object repository, rather than creating a new (empty) one. On System V machines, a file containing the target directory name will be generated. The AtFS functions will interpret this as surrogate for a symbolic link. -m mode Set the mode of all generated directories to mode (see chmod(1)). -v Output version identification string. SEE ALSO
chgrp(1), chmod(1), atfsrepair(1), af_cache(3) AUTHOR
Andreas.Lampen@cs.tu-berlin.de AtFS-1.71 Mon Aug 8 13:28:26 1994 mkatfs(1)
All times are GMT -4. The time now is 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy