07-09-2009
file writing over nfs very slow
Hi guys,
I am trying something. I wrote a simple shell program to test something where continuous while loop writes on a file over the nfs. The time taken to write "hello" 3000 times take about 10 sec which is not right. Ideally it should take fraction of seconds. If I write on the local disk, it happens instantaneously. "dd" command works fine over the
network. Not sure if it is doing the same thing as filw writing with a shell script.
Can someone suggest me where to look at if it is NFS issue?
Thanks,
Abhi.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have an HP-UX server with a Network Appliance Filer attached over Gigabit Ethernet. I am noticing very slow response time when using "ls -l" on one directory on one of the several NFS mounted filesystems. The "ls" command by itself does not seem to be a problem. Typically I get a response within... (3 Replies)
Discussion started by: keelba
3 Replies
2. UNIX for Advanced & Expert Users
Hello Guru,
I am using a Pro*C program to prepare some reports
usaually the report file size is greater than 1GB.
But nowadays program is very slow.
I found out the program is taking much time to write data to file .....
is there any unix related reason to be slow down, the file writting... (2 Replies)
Discussion started by: bhagyaraj.p
2 Replies
3. Solaris
:confused:Hi all
When i see in the /var/adm/messages, i saw the following error
unix: NFS write error on host : Stale NFS file handle.
unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49)
It is using sunOS 5.7. Is anybody know what is this error?
Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Following my last post I've mounted the remote server on my local server. However copying files from this mounted server is increadbily slow. If I copy files using rcp it's very fast so I assume there must be a setting somewhere?
Any help appreicated.
Thanks (2 Replies)
Discussion started by: AngryBunny
2 Replies
5. Red Hat
Hi, I facing an NFS problem. I have machine1, which has diskA and diskB, and machine2, both are Mandriva 2009 Linux.
When I am on machine2 and NFS mount both diskA and diskB of machine1. Writing to diskA is very fast, but writing to diskB is very slow. I tried different mount rsize and wsize... (2 Replies)
Discussion started by: hiepng
2 Replies
6. Solaris
Hi
I have a problem with NFS sharing on solaris 10, the problem simply with write permission, after do the following command, the folder still not writable from machine 2 :
on machine 1 (10.10.10.32) :
share -F nfs -o rw /u01/portalrepository/
on machine 2 (10.10.10.31) :
mount -F nfs... (35 Replies)
Discussion started by: Al-Mothafar
35 Replies
7. Red Hat
Hi All,
I have RHEL 5.6 with a 70GB local directory of Web content. Images, PHP scripts etc.
I need to copy all this content to an NFS array thats mounted on the RHEL server.
I did a baseline cp to copy the content one week ago. Since my baseline copy the local directory has grown by 8GB.... (2 Replies)
Discussion started by: general_lee
2 Replies
8. HP-UX
I have an HP Unix server with Oracle DB and want to write Datapumo export files across the network to IMB/Linux NFS. Will that work? (3 Replies)
Discussion started by: Duane McDonough
3 Replies
9. AIX
Hi,
I have a bit of a NFS problem on AiX 6.1 : When I set the mount to cio and dio - needed for a database app - Everything slows down. The following is copying 700mb, top one is a normal mount bottom one is a mount with the cio/dio option enabled :
# ./a.sh
Wed Jan 11 11:41:24 GMT 2012... (5 Replies)
Discussion started by: AJCG1976
5 Replies
10. UNIX for Dummies Questions & Answers
I am working on a CentOS release 6.4 server which has two mounted NAS devices, one with 20 x 3TB HDD running in FreeBSD with Zfs2 and one NAS which I don't know much about, but which has 7 HDDs in RAID-6.
I was running tar -zxvf on a tarball that is 80Mb with 50,000 small files inside. Even... (4 Replies)
Discussion started by: TupTupBoom
4 Replies
LEARN ABOUT CENTOS
tapset::nfs
tapset::nfs(3stap) tapset::nfs(3stap)
NAME
tapset::nfs - systemtap nfs tapset
DESCRIPTION
nfs.fop.llseek
NFS client llseek operation
See probe::nfs.fop.llseek(3stap)
for details.
nfs.fop.read
NFS client read operation
See probe::nfs.fop.read(3stap)
for details.
nfs.fop.write
NFS client write operation
See probe::nfs.fop.write(3stap)
for details.
nfs.fop.aio_read
NFS client aio_read file operation
See probe::nfs.fop.aio_read(3stap)
for details.
nfs.fop.aio_write
NFS client aio_write file operation
See probe::nfs.fop.aio_write(3stap)
for details.
nfs.fop.mmap
NFS client mmap operation
See probe::nfs.fop.mmap(3stap)
for details.
nfs.fop.open
NFS client file open operation
See probe::nfs.fop.open(3stap)
for details.
nfs.fop.flush
NFS client flush file operation
See probe::nfs.fop.flush(3stap)
for details.
nfs.fop.release
NFS client release page operation
See probe::nfs.fop.release(3stap)
for details.
nfs.fop.fsync
NFS client fsync operation
See probe::nfs.fop.fsync(3stap)
for details.
nfs.fop.lock
NFS client file lock operation
See probe::nfs.fop.lock(3stap)
for details.
nfs.fop.sendfile
NFS client send file operation
See probe::nfs.fop.sendfile(3stap)
for details.
nfs.fop.check_flags
NFS client checking flag operation
See probe::nfs.fop.check_flags(3stap)
for details.
nfs.aop.readpage
NFS client synchronously reading a page
See probe::nfs.aop.readpage(3stap)
for details.
nfs.aop.readpages
NFS client reading multiple pages
See probe::nfs.aop.readpages(3stap)
for details.
nfs.aop.set_page_dirty
NFS client marking page as dirty
See probe::nfs.aop.set_page_dirty(3stap)
for details.
nfs.aop.writepage
NFS client writing a mapped page to the NFS server
See probe::nfs.aop.writepage(3stap)
for details.
nfs.aop.writepages
NFS client writing several dirty pages to the NFS server
See probe::nfs.aop.writepages(3stap)
for details.
nfs.aop.write_begin
NFS client begin to write data
See probe::nfs.aop.write_begin(3stap)
for details.
nfs.aop.write_end
NFS client complete writing data
See probe::nfs.aop.write_end(3stap)
for details.
nfs.aop.release_page
NFS client releasing page
See probe::nfs.aop.release_page(3stap)
for details.
SEE ALSO
probe::nfs.fop.llseek(3stap), probe::nfs.fop.read(3stap), probe::nfs.fop.write(3stap), probe::nfs.fop.aio_read(3stap),
probe::nfs.fop.aio_write(3stap), probe::nfs.fop.mmap(3stap), probe::nfs.fop.open(3stap), probe::nfs.fop.flush(3stap),
probe::nfs.fop.release(3stap), probe::nfs.fop.fsync(3stap), probe::nfs.fop.lock(3stap), probe::nfs.fop.sendfile(3stap),
probe::nfs.fop.check_flags(3stap), probe::nfs.aop.readpage(3stap), probe::nfs.aop.readpages(3stap),
probe::nfs.aop.set_page_dirty(3stap), probe::nfs.aop.writepage(3stap), probe::nfs.aop.writepages(3stap),
probe::nfs.aop.write_begin(3stap), probe::nfs.aop.write_end(3stap), probe::nfs.aop.release_page(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::nfs(3stap)