12-14-2009
Corona688, thanks for your input. But I think you agree with me that that's not exaclty it. With strace I cannot see how exactly read/write API calls are mapped into block devide requests, next - a very important one - I cannot see how efficiently I utilize FS. For example on some filesystems I have to allocate file in large chunks and then fseek, on others I have to append, so on... - all these choises become obvious once I can see what's going on under the hood...
PS
I think once I found a tool that did exactly what I need by installing a driver under /proc but now I can't find it anymore...
10 More Discussions You Might Find Interesting
1. Programming
I have two net-card. one is 172.16.24.99(ENG) ,another is 172.16.25.99(ENG-B). Both masks is 255.255.255.0.
I will monitor data on the tcp port 8055 in ENG, How do I set option of tcpdump command (2 Replies)
Discussion started by: chenhao_no1
2 Replies
2. UNIX for Dummies Questions & Answers
does anybody know what the -d -dd and -ddd options are used for ?
thanks (2 Replies)
Discussion started by: ant04
2 Replies
3. Cybersecurity
i would like to know about tcpdump
i would like to use tcpdump to get information about these
- Date
- time
- source hostname
- source mac address
- source ip address
- destination ip address
- see outbound only
then i use command like this
tcpdump -i le0 -n -q -tttt -e src net... (0 Replies)
Discussion started by: chamnanpol
0 Replies
4. IP Networking
i would like to know about tcpdump
i would like to use tcpdump to get information about these
- Date
- time
- source hostname
- source mac address
- source ip address
- destination ip address
- see outbound only
then i use command like this
tcpdump -i le0 -n -q -tttt -e src net... (2 Replies)
Discussion started by: chamnanpol
2 Replies
5. AIX
I'm search for a disk exerciser / load tool like iometer, iozone, diskx for IBM AIX 5.2 and 5.3
Because of a very bad disk performance on several AIX systems, I need to have a tool which is able to generate a disk load on my local and SAN disks.
Does somebody knows a kind of tool which is... (5 Replies)
Discussion started by: funsje
5 Replies
6. IP Networking
Hello !
I am using
tcpdump -w /tr.cap -p -n -s 0 "udp"
to trace my network trafic.
(analysing later)
I want to reduce the size of the trace files.
Firtst i can use the great -C option but old files are not deleted...
Second I don't want trace RTP packet but i can't find how to use... (1 Reply)
Discussion started by: Calimero90
1 Replies
7. Solaris
Hi All
Currently i had a server directly connect to the EMC box.
The EMC storage is a FC Direct Attached Storage to the server without going through SAN switches
And i had download the Daily data file in /var/adm/sa/sardd
But i not sure which one in /var/adm/sa/sardd is the correct... (14 Replies)
Discussion started by: SmartAntz
14 Replies
8. Programming
Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies
9. Debian
Hi.
Need Help with TcpDump
Trying to sniff associatio-request with tcpdump but when i run this tcpdump -i eth0 wlan subtype assoc-req i get this error
can anyone help me with this error ? Thanks alot !!:) (1 Reply)
Discussion started by: SoulZB
1 Replies
10. IP Networking
I've recently started learning to use TCPdump, and I find it pretty interesting. There's one thing I don't understand. When I tell it to capture packets on, say, the WiFi interface en1, it often captures packets sent or received by other hosts on the network. How can it do this? My... (3 Replies)
Discussion started by: Ultrix
3 Replies
iomap(7) Miscellaneous Information Manual iomap(7)
NAME
iomap - physical I/O address mapping
SYNOPSIS
DESCRIPTION
The mechanism allows the mapping (thus direct access) of physical I/O addresses into the user process address space. For PA-RISC machines,
the physical I/O address space begins at and extends to
The special (device) files for devices are character special files using the dynamic major number allocation scheme.
The minor number for devices is of the form:
The physical I/O address is formed by prefixing 0xAAAA with 0xF, and by appending 0x000 (this forces the I/O address to be page-aligned).
The size of the region to be mapped is given by the expression M*(2^S) 4K pages. For example, the minor number for a device starting at
that occupies 64MB is
The driver must be explicitly added to the file, the kernel rebuilt, and the system subsequently rebooted prior to first using
I/O space is always mapped with both read and write access rights, regardless of the actual permissions on the device special file.
Multiple processes can have concurrently a single device opened and mapped. It is the responsibility of the processes to synchronize their
access.
Successive calls to to map the same I/O space must be identical to the first mapping. Identical mappings have the same address and size.
Note that a process can additionally share I/O space (mapped by with a kernel driver. However, this is only possible if the driver maps in
the I/O space with user read/write access rights using the appropriate driver I/O mapping services. Any I/O space mapped by drivers with
kernel read/write access rights cannot be concurrently mapped by processes using
No or system calls are supported by the driver.
The function is used to control the device. The following requests are defined in
Map the device into user address space at the location specified by the pointer to which the third argument to points. If
the argument points to a variable containing a null pointer, the system selects an appropriate address. then
returns the user address where the device was mapped, storing it at the address pointed to by the third argument
(see below). Multiple processes can concurrently have the same device mapped.
Unmap the device from the user address space.
shuts down the file descriptor associated with the device. If the close is for the last system wide open on the device, the device is also
unmapped from the user address space; otherwise it is left mapped into the user address space (see above).
WARNINGS
Be extremely careful when creating and using devices. Inappropriate accesses to I/O devices or RAM can result in a system crash.
ERRORS
The address field was out of range,
or the request was invalid.
Not enough memory could be allocated for the mapping.
Device was already mapped and this mapping was not identical
to the initial mapping (same address, size and access rights).
Read and write calls are unsupported.
No such device at the address specified by the minor number.
Required resources for mapping could not be allocated.
Inappropriate request for this device type; fildes is not a file descriptor for an device file.
EXAMPLES
Consider the following code fragment:
...
...
where is an open file descriptor for the device special file and is the address originally requested by the program.
If is a null pointer, the system selects a suitable address then returns the selected address in addr.
If the value in addr is not a null pointer, it is used as a specified address for allocating memory. If the specified address cannot be
used, an error is returned (see
SEE ALSO
mknod(1M).
OBSOLETED iomap(7)