LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-01-2013, 01:35 AM   #1
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Rep: Reputation: Disabled
question about parameters in mount command


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 ???


regards
 
Old 03-01-2013, 02:21 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Yes it may cause performance issues if miss configured, for more details about mount see the manual.
Code:
man mount
Regards
 
Old 03-01-2013, 08:07 AM   #3
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
In first mounting ,

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
 
Old 03-01-2013, 09:45 AM   #4
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vishesh View Post
In first mounting ,

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 .

regarcds
 
Old 03-04-2013, 12:26 AM   #5
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
You can use dd command

dd if=/dev/zero bs=1M count=1 of=/ca1

You you can see how much taken to write 1Mb data to /dev/sdf1

You can also use iozone tool for performance evalution.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dd command parameters schneidz Programming 4 12-30-2008 01:21 PM
Utf-8 command line parameters mik2709 Linux - Newbie 1 03-14-2008 09:10 AM
positional parameters $1 $2 in sed command Warmduvet Programming 12 09-22-2004 03:56 PM
Parameters in sed command linuxdev Linux - Newbie 13 02-09-2004 06:14 PM
Simple question about mount command Manuel Tejada Linux - General 3 11-02-2002 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration