Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Maximum size of a file in unix Post 302132235 by nagalenoj on Thursday 16th of August 2007 03:17:56 AM
Old 08-16-2007
CPU & Memory Maximum size of a file in unix

What's the maximum file size supported by unix.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Maximum size of sed file...

The sed -f option (reading sed commands from a file) seems to have a limit of 200 transactions per file. I can't see anything in the man pages about this restriction. I have a file with several thousand sed commands I need to perform (substitutions) - and while I can split the file into... (14 Replies)
Discussion started by: peter.herlihy
14 Replies

2. Programming

Maximum File Size

Hi, When i checked for the maximum file size on solaris 5.9 the max file size obtained was only 2147483647 and all the further writes to the file which had reached that max size is not added to that file. even i had registered the signal SIGXFSZ, but the signal was not delivered to the... (5 Replies)
Discussion started by: matrixmadhan
5 Replies

3. UNIX for Dummies Questions & Answers

Maximum input file size in "Diff" Command

Hello, Can anyone let me know what is the maximum file size that can be given as input for the "Diff" Command in Unix? I have a file size as large as 28MB and which can also increase. Will I face any issues with such a file size. If yes, What is the other alternative. Thanks in advance for... (1 Reply)
Discussion started by: Neeraja
1 Replies

4. HP-UX

Mailx Maximum attachment size

Hi friends, what is the maximum allowable attachment size, we can send using mailx command. what is an alternate option if my file is > than that size? thanks sreeji (0 Replies)
Discussion started by: sreejithau
0 Replies

5. UNIX for Dummies Questions & Answers

maximum tar file size?

Is there a reasonable maximum limit for tar file sizes? I want to transfer a pile of files from one server to another but have restricted means, so tarring them first will probably be best... but how big can I go - both for the file format itself and for the operating system (linux) to handle? ... (7 Replies)
Discussion started by: Bobby
7 Replies

6. UNIX for Dummies Questions & Answers

Unix shell script for finding top ten files of maximum size

I need to write a Unix shell script which will list top 10 files in a directory tree on basis of size. i.e. first file should be the biggest in the whole directory and all its sub directories. Please suggest any ideas (10 Replies)
Discussion started by: abhilashnair
10 Replies

7. UNIX for Dummies Questions & Answers

Maximum file size ????

Hi All, - block size of 512KB & every address requires 4 bits - The inode structure contains 10 direct pointers, 1 single indirect, 1 double indirect & 1 triple indirect pointer What could be the possible maximum file size for this system Any guess? I am unable to understand the question... (0 Replies)
Discussion started by: preethgideon
0 Replies

8. UNIX for Advanced & Expert Users

How to identify maximum stack size?

Hi All, I have set max stack size as 4KB for my thread, but it always using very less. So I like to know what is the maximum stack size is used by my thread. I tried with gcc -fstack-usage command line option, but its not supported by mips. Kindly suggest me the way to find the max stack... (6 Replies)
Discussion started by: rajamohan
6 Replies

9. Programming

Maximum buffer size for read()

Hi friends, Hope everybody is fine. First have a look at my code, then we will talk about it. $ cat copy.c #include <stdio.h> #define PERMS 0644 /* RW for owner, R for group, others */ #define BUFSIZE 1 char *progname; int main(int argc,char * argv) { int f1, f2, n; ... (4 Replies)
Discussion started by: gabam
4 Replies

10. Shell Programming and Scripting

Maximum size of attachment in mail

Hi Friends, My requirment is to Query the oracle database , generate the file change the extension to .csv and send to clients automatically everyday. However i am able to perform the task. But sometimes when the file size is getting increased more than 1 MB then the mail is... (5 Replies)
Discussion started by: Showdown
5 Replies
IBV_QUERY_DEVICE(3)					  Libibverbs Programmer's Manual				       IBV_QUERY_DEVICE(3)

NAME
ibv_query_device - query an RDMA device's attributes SYNOPSIS
#include <infiniband/verbs.h> int ibv_query_device(struct ibv_context *context, struct ibv_device_attr *device_attr); DESCRIPTION
ibv_query_device() returns the attributes of the device with context context. The argument device_attr is a pointer to an ibv_device_attr struct, as defined in <infiniband/verbs.h>. struct ibv_device_attr { char fw_ver[64]; /* FW version */ uint64_t node_guid; /* Node GUID (in network byte order) */ uint64_t sys_image_guid; /* System image GUID (in network byte order) */ uint64_t max_mr_size; /* Largest contiguous block that can be registered */ uint64_t page_size_cap; /* Supported memory shift sizes */ uint32_t vendor_id; /* Vendor ID, per IEEE */ uint32_t vendor_part_id; /* Vendor supplied part ID */ uint32_t hw_ver; /* Hardware version */ int max_qp; /* Maximum number of supported QPs */ int max_qp_wr; /* Maximum number of outstanding WR on any work queue */ int device_cap_flags; /* HCA capabilities mask */ int max_sge; /* Maximum number of s/g per WR for non-RD QPs */ int max_sge_rd; /* Maximum number of s/g per WR for RD QPs */ int max_cq; /* Maximum number of supported CQs */ int max_cqe; /* Maximum number of CQE capacity per CQ */ int max_mr; /* Maximum number of supported MRs */ int max_pd; /* Maximum number of supported PDs */ int max_qp_rd_atom; /* Maximum number of RDMA Read & Atomic operations that can be outstanding per QP */ int max_ee_rd_atom; /* Maximum number of RDMA Read & Atomic operations that can be outstanding per EEC */ int max_res_rd_atom; /* Maximum number of resources used for RDMA Read & Atomic operations by this HCA as the Target */ int max_qp_init_rd_atom; /* Maximum depth per QP for initiation of RDMA Read & Atomic operations */ int max_ee_init_rd_atom; /* Maximum depth per EEC for initiation of RDMA Read & Atomic operations */ enum ibv_atomic_cap atomic_cap; /* Atomic operations support level */ int max_ee; /* Maximum number of supported EE contexts */ int max_rdd; /* Maximum number of supported RD domains */ int max_mw; /* Maximum number of supported MWs */ int max_raw_ipv6_qp; /* Maximum number of supported raw IPv6 datagram QPs */ int max_raw_ethy_qp; /* Maximum number of supported Ethertype datagram QPs */ int max_mcast_grp; /* Maximum number of supported multicast groups */ int max_mcast_qp_attach; /* Maximum number of QPs per multicast group which can be attached */ int max_total_mcast_qp_attach;/* Maximum number of QPs which can be attached to multicast groups */ int max_ah; /* Maximum number of supported address handles */ int max_fmr; /* Maximum number of supported FMRs */ int max_map_per_fmr; /* Maximum number of (re)maps per FMR before an unmap operation in required */ int max_srq; /* Maximum number of supported SRQs */ int max_srq_wr; /* Maximum number of WRs per SRQ */ int max_srq_sge; /* Maximum number of s/g per SRQ */ uint16_t max_pkeys; /* Maximum number of partitions */ uint8_t local_ca_ack_delay; /* Local CA ack delay */ uint8_t phys_port_cnt; /* Number of physical ports */ }; RETURN VALUE
ibv_query_device() returns 0 on success, or the value of errno on failure (which indicates the failure reason). NOTES
The maximum values returned by this function are the upper limits of supported resources by the device. However, it may not be possible to use these maximum values, since the actual number of any resource that can be created may be limited by the machine configuration, the amount of host memory, user permissions, and the amount of resources already in use by other users/processes. SEE ALSO
ibv_open_device(3), ibv_query_port(3), ibv_query_pkey(3), ibv_query_gid(3) AUTHORS
Dotan Barak <dotanba@gmail.com> libibverbs 2006-10-31 IBV_QUERY_DEVICE(3)
All times are GMT -4. The time now is 06:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy