Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi ,
i want to ask about the parameters used in mout command
i have two mount point want to ask about them :
/dev/sdf1 /ca1 ext4 noatime,barrier=0,data=writeback,commit=100 0 2
=================================================
1.1.1.2:/share/MD0_DATA/videocache /vi nfs rw,soft,intr,bg,nolock,rsize=8192,wsize=8192,udp 0 0
=======================
i mean does the mount command parameters may cacue slow performance if wasnt configured well ???
data=writeback , specify journaling method . In writeback only metadata gets stored in journal so definitely this will improve performance.
commit=100 , specify data and metadata get synced in every 100 second instead of every 5 sec, so again this is performance boost .
In 2nd mounting .
UDP protocol is in use for NFS data transfer and socket buffer size has been set to
rsize=8192 (Memory for read )
wsize=8192 (Memory allocated for write ). By default udp socket size allocated as per settings in /proc/sys/net/core/rmem_default and /proc/sys/net/core/wmem_default
data=writeback , specify journaling method . In writeback only metadata gets stored in journal so definitely this will improve performance.
commit=100 , specify data and metadata get synced in every 100 second instead of every 5 sec, so again this is performance boost .
In 2nd mounting .
UDP protocol is in use for NFS data transfer and socket buffer size has been set to
rsize=8192 (Memory for read )
wsize=8192 (Memory allocated for write ). By default udp socket size allocated as per settings in /proc/sys/net/core/rmem_default and /proc/sys/net/core/wmem_default
Thanks
hi ,
great info ,
but how to measure my performance if my configured values are in the right valuse ??!!
i mean if i have 1 tera hardsik mount ast ext4 with the mount info as :
/dev/sdf1 /ca1 ext4 noatime,barrier=0,data=writeback,commit=100 0 2
is it good ??
my problem is ,
with the mounting above , i have some slow , i dont know if it is from mounting or not .
im using squid with centos server .
not sure if squid or mount issue !!!
wish to help me how to measure mount performance .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.