CentOS 5 :: Find Out Maximum I/O Request Size?
Nov 28, 2009How do I find out maximum I/O request size?
I'm using CentOS release 5.2
I know that the default size is 128 K, how do I find out/confirm this?
How do I find out maximum I/O request size?
I'm using CentOS release 5.2
I know that the default size is 128 K, how do I find out/confirm this?
I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.
View 1 Replies View RelatedI can display the RPM installed on CentOS 5.4 though:
Code:
#rpm -qa| more
How can I know the size of those RPMs?
how to mkpart with maximum size available?
mkpart primary 0 3001G
I have 3TB raid disk. I cannot install centos using GPT partition. I need to use parted and mkpart to format it.
I use U-server. I set up an mail server as described in Ubuntu Documentation > Ubuntu 11.04 > Ubuntu Server Guide > Email Services.
How can I turn off maximum attachment size. On my server I don't want to limit the size of e mails that arrives.
I manage my server with webmin
When I try to delete a file, ( move to trash ) It says , The trash has reached It's maximum size! clean the trash manually. When I click on the trash icon on desktop it is empty. Where is the trash? Where can I delete these files ?
View 2 Replies View RelatedThis seems like a relatively simple question, but the answer seems to elude everyone: What is the MAXIMUM SIZE of a Linux loopback device (not counting any specific filesystem limitations)? Is it the maximum size of a linux block device?
View 4 Replies View RelatedIs there any maximum limit to the heap memory allocation?My program is in PERL and i am using a solaris system. when i did "pmap pid" (pid = my process id) it is showing a number of heap memory allocated and all of them with GB sizes. This single process is eating up most of the physical memory.Is it normal and is there any way to get the heap memory size down
View 3 Replies View RelatedFirst off all, I'm booting from a large MEMDISK using PXE (900MB) . Due to our environment, I cannot decrease the size, nor move files to a nfs/iSCSI/... environment. Everything needs to be in that MEMDISK.
Now, when I try to run the OS, I get out of vmalloc space. How do I increase it to a number which allows such a large image to be mapped? I tried the parameter "vmalloc=1280M", but with that parameter, I don't get past the Booting the kernel screen.
Memory should not be an issue, since the machine(s) have at least 2GB RAM. (900MB MEMDISK + 256MB for other kernel stuff + 768MB for user stuff). The machine(s) have a Pentium 4 Extreme Edition processor, with hyperthreading and SSE2, but no EM64T.
How can I boot the system, and get past that message? Decreasing the MEMDISK size is not possible too. It is at the smallest we can get with our userland + kernel + modules.
How do I change the size of the available shared memory on Linux?evidently 4GB is not enough for what I am doing (I need to load a lot of data into shared memory - my machine got 8GB of RAM).
View 2 Replies View RelatedI'm using fc14 and the SG driver to test some SCSI (SAS) targets. In doing so, I'm bumping up against what appears to be a 512KB maximum transfer size per command. Transfers up to 4MB sometimes work, but often they result in ENOMEM or EINVAL returned from the write() function in the SG driver. I could not find any good documentation on how the SCSI system in Linux works so I've been studying the source for drivers in drivers/scsi.
I see that there is a scsi_device struct that contains a request_queue struct that contains a queue_limits struct that contains an element called max_sectors. The SG driver seems to use this to limit the size of the reserve buffer it is willing to create. I see that there are several constants used to initialize max_sectors to 1024 which would result in the 512KB limit I see (with targets having 512 byte sectors). At this point I have several questions:
1) When the open() function for the sg driver gets called, who initializes the scsi_device struct with the default values?
2) Can I merely change the limits struct to arbitrary values after initialization and cause the SG ioctls to set the reserve buffer to allow greater values?......
How to restrict the maximum size of an array variable in perl such that Ishould not be able to have array elements beyond the maximum size?
View 7 Replies View RelatedI'm wondering what's the maximum heap space a process can use (not necessarily by a single malloc()) in Ubuntu x86_64. Which parameter determines the size
View 7 Replies View RelatedI have written a script.
#/bin/bash
a=`du -sh /root/samplefolder | cut -f1`
echo $a > testfile
[code]....
The aim of this script is, when the folder reaches 20M then attributes will be set to that particular folder so that no newfiles and folders cannot be created or copied to that samplefolder. whenever i copy a file morethan 20M to that folder its getting copied fully and then the attributes were applied. But i dont want this to happen, when the folder reaches its maximum current write operation to that folder should be stopped automatically with a error.
I have set up squid server. My cache directory has been set up as per following statements.cache_dir ufs /Cache1/squid 10000 16 256cache_dir ufs /Cache2/squid 10000 16 256Now the problem is that size of /Cache1 and /Cache2 has reached to about 8GB and in near future it will reach the maximum limit of 10GB. I just want to know that whether I need to delete the contents of these directories or otherwise.
View 1 Replies View RelatedBoth gThumb and Geeqie image viewers have limited maximum size for thumbernails. Is there any way to work with bigger thumbernails (or slide photos)?
View 3 Replies View RelatedI've been struggling with what should be an easy change on our Squid proxy.Basically I'm attempting to allow the ranges:
IP range is:
209.197.0.0/19
Address: 209.197.0.0
[code]....
I have a file called abc.txt which has following contents.
10.180.8.231=31608
10.180.8.232=29011
10.180.8.233=31606
[code]....
Is there a maximum requests per second that CentOS can handle? For example, a site like wikipedia gets at least 30,000 requests per second, so could CentOS handle that many requests? Some people told me that CentOS cannot and i would need to get a custom kernel.
View 10 Replies View RelatedI have a Canoscan LiDE 30 scanner which works fine in Linux. I haven't used it in months, and never since moving from Jaunty x86_64 to Fedora 11 x86_64. This evening I suddenly need to scan two pages to send to someone via e-mail, and the recipient is desperate to receive them. Naturally, Xsane has decided this is the moment to screw me.
The problem: I cannot figure out how to tell Xsane that the page size is 8.5 11. It insists on scanning only the left side, 3.99 x 11. I cannot find a page size anywhere in any of the buttons.
In Preview I once got it to scan the entire page, but could not figure out how to save the image to file. Subsequently I have not been able to figure out how I did it. In any event, scanning from the small main window always scans 3.99 x 11. Adjusting the scan area manually in the Preview window allows me to change the size area in the small main window to 8.5 x 11, but when I then scan from the small main window it reverts to 3.99 x 11.
I have scanned the document a hundred times at least, each time trying different buttons, but nothing has succeeded in getting the full page.
how to redirect all client http request to https request in squid
View 1 Replies View RelatedWhile searching for the maximum numbers of CPUs supported by CentOS 5 x86_64 I found the following page: [URL]. The question I have regarding the specified information ("64/255" logical CPUs) is, which number means what. Does this mean 64 real CPUs with a maximum of 255 cores/hyperthreaded CPUs or something similar or totally different?
View 4 Replies View RelatedWhile searching for the maximum numbers of CPUs supported by CentOS 5 x86_64 I found the following page: [URL] The question I have regarding the specified information ("64/255" logical CPUs) is, which number means what. Does this mean 64 real CPUs with a maximum of 255 cores/hyperthreaded CPUs or something similar or totally different?
View 9 Replies View RelatedI am about to purchase a new external hard drive which will be driven through the USB port. It will probably be a 1.0 TB drive from Frys/CompUSA/MicroCenter or some discount source. It will probably come formatted to run on a Windows machine and I intend this drive to be run only from my Linux laptop. I'd like to format it to be able to make the most of it from my Linux machine. Although re-formatting may not be absolutely necessary, as it probably will work "OK" just out of the box as is, how can I format it to get the maximum usage out of this new drive?
View 6 Replies View RelatedI've been following this guide quite closely: [URL]
Once all the instructions have been followed I get a login screen with no images at all, when I login (still no images) none of the links work (they just come up with a blank page. My apache config is slight different (as it my RT_SiteConfig.pm) examples below:
Code:
Alias /rt "/opt/rt3/share/html"
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Directory /opt/rt3/share/html>
[Code]....
I spend all day, trying to make bluetooth working with my phone Nokia 2600. First, i try'it with bluez-utils 3.7, and later with 3.9, but i no luck. So, what i have. I use hcitool to scan for my device, and find'it. Next, i connect to my phone with success. Then i try pairing with my phone, using "auth", but here i got error: HCI authentication request failed: Input/output error
View 1 Replies View Relatedwhat the maximum number of logical volumes is for a volume group in LVM ? Is there any known performance hit for creating a large number of small logical volumes vs a small number of large volumes ?
View 1 Replies View RelatedI am trying to install CentOS 5.3 on a computer where I successfully installed Windows XP.
Booting from the DVD I got the following error:
[<c0458f3c>] serial8250_init+0x6d/0xe4
[<c041abd4>] init+0x25/0x69
[<c041f46b>] ret_from_fork+0x1eb/0x73c
[<c04597eb>] init+0x181/0x19b
[Code]....
End_request: I/O error, dev sds, sector 420656157
EXT3-fs error (device sda2) : ext3_find_entry : reading directory # 52527153 offset
What is this Above Error which I am getting , on my server
i am forwarding HTTP request to a internal server, it is quiet successful but access logs donot show the ip of the external m/c. Rather it shows the ip of the machine on which i have enabled port forwarding.
View 2 Replies View Related