explication of forcedirectio


 
Thread Tools Search this Thread
Operating Systems Solaris explication of forcedirectio
# 1  
Old 01-20-2010
explication of forcedirectio

People what is forcedirectio? I know is something about the buffer of a filesystem.

Thank you for your time
# 2  
Old 01-20-2010
Quote:
"forcedirectio" option is useful for large files. From the mount_ufs man page, we see this explanation:

"If forcedirectio is specified and supported by the file system, then for the duration of the mount forced direct I/O will be used. If the filesystem is mounted using forcedirectio, then data is transferred directly between user address space and the disk. If the filesystem is mounted using noforcedirectio, then data is buffered in kernel address space when data is transferred between user address space and the disk. forcedirectio is a performance option that benefits only from large sequential data transfers. The default behavior is noforcedirectio."
btw. this was the first google hit for "solaris mount forcedirectio"!
# 3  
Old 01-20-2010
Mounting a file system "forcedirectio" can be useful when you know your access pattern is such that caching data is a net performance drain.

For example, if you know you're streaming data in a way that you'll almost never read the same bytes again before they would be dropped from the kernel cache, "forcedirectio" can be helpful in getting better performance.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Why Oracle 11g need forcedirectio option?

I've spent one day to find solution for a nfs mounting problem with Oracle11g installation. Finally, I've found that the missing options was forcedirectio My question is, why this options is mandatory when we talk about datafiles installation? tnk gb (4 Replies)
Discussion started by: gogol_bordello
4 Replies

2. Shell Programming and Scripting

explication

hi all, what mean this command sed'/^*$/d' thanks (4 Replies)
Discussion started by: kamel.seg
4 Replies
Login or Register to Ask a Question