Re: Setting block sizes beyond 4K

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







I have an iSCSI application which takes blocks of data
from SCSI. I want the blocks to be as large as
possible, atleast for me to see the performance of the
iSCSI protocol. I intend to keep every thing in
multiples of larger block sizes. 

Can I change it by changing the parameters in the
kernel, like PAGE_SIZE(followed by block size) for
ext2 ?(The approach seems very naive !!)

Sai















--- Ribamar Santarosa de Sousa <ribamar@xxxxxxxxxxx>
wrote:

> On Wed, Oct 27, 2004 at 01:35:34AM -0700, sai
> narasimhamurthy wrote:
> > Hi , 
> > Is it possible to set block sizes of disk
> partitions
> > in the recent linux kernels beyond 4K? (say 8K)
> The
> > standard user commands (like mke2fs) has options
> only
> > to set the block sizes upto 4K. 
> > 
> > Is there a kernel hack that can to be done
> somewhere?
> > 
> 
> Why you need to set block beyond 4k? -- AFAIK 4k is
> the optimized value
> for a block ( http://www.freeos.com/articles/3912 ),
> at least in ext2.
> Well, you could be wanting just for tests and that's
> ok; not sure, 
> but i think using more than 4k in ext2 will require
> heavy hacking (why
> not using another fs?)...
> 
> -Riba
>  
> 
> > Sai
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> > 
> > --
> > Kernelnewbies: Help each other learn about the
> Linux kernel.
> > Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> > FAQ:           http://kernelnewbies.org/faq/
> > 
> 
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux