All of lore.kernel.org
 help / color / mirror / Atom feed
* remounting with a different blocksize
@ 2003-09-17  6:45 Amir Hermelin
  2003-09-17 10:57 ` Steve Dickson
  0 siblings, 1 reply; 5+ messages in thread
From: Amir Hermelin @ 2003-09-17  6:45 UTC (permalink / raw)
  To: nfs

Hi,
I'm using RH Linux 2.4.20 on both machines.  When I first mount one of =
the
machines with a 4k read/write blocksize, the READ requests are 4K bytes.
However, when I umount and then mount again with read/write blocksize of =
8K,
the READ requests are still 4K bytes.

Any ideas on how I can properly change the blocksizes?

Thanks,
Amir.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: remounting with a different blocksize
  2003-09-17  6:45 remounting with a different blocksize Amir Hermelin
@ 2003-09-17 10:57 ` Steve Dickson
  2003-09-17 14:04   ` Amir Hermelin
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Dickson @ 2003-09-17 10:57 UTC (permalink / raw)
  To: Amir Hermelin; +Cc: nfs


Amir Hermelin wrote:

>I'm using RH Linux 2.4.20 on both machines.  When I first mount one of the
>machines with a 4k read/write blocksize, the READ requests are 4K bytes.
>However, when I umount and then mount again with read/write blocksize of 8K,
>the READ requests are still 4K bytes.
>
>Any ideas on how I can properly change the blocksizes?
>
I just ran a quick experiment on with my 2.4.20 kernel and everything
seem to work as expected... How are you verifying the blocks sizes?

SteveD.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: remounting with a different blocksize
  2003-09-17 10:57 ` Steve Dickson
@ 2003-09-17 14:04   ` Amir Hermelin
  0 siblings, 0 replies; 5+ messages in thread
From: Amir Hermelin @ 2003-09-17 14:04 UTC (permalink / raw)
  To: 'Steve Dickson'; +Cc: nfs

Steve,
I turn on nfsd debugging using '/sbin/sysctl -w =
sunrpc.nfsd_debug=3D65535'.
There I see that the READ requests come in 4k blocks.  Other than that =
the
operation works fine (since both the client and the server agree on this
4k).

Amir.


-----Original Message-----
From: nfs-admin@lists.sourceforge.net
[mailto:nfs-admin@lists.sourceforge.net] On Behalf Of Steve Dickson
Sent: =E3 17 =F1=F4=E8=EE=E1=F8 2003 12:57
To: Amir Hermelin
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] remounting with a different blocksize



Amir Hermelin wrote:

>I'm using RH Linux 2.4.20 on both machines.  When I first mount one of=20
>the machines with a 4k read/write blocksize, the READ requests are 4K=20
>bytes. However, when I umount and then mount again with read/write=20
>blocksize of 8K, the READ requests are still 4K bytes.
>
>Any ideas on how I can properly change the blocksizes?
>
I just ran a quick experiment on with my 2.4.20 kernel and everything =
seem
to work as expected... How are you verifying the blocks sizes?

SteveD.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: remounting with a different blocksize
@ 2003-09-17 15:20 Lever, Charles
  2003-09-18  7:19 ` Amir Hermelin
  0 siblings, 1 reply; 5+ messages in thread
From: Lever, Charles @ 2003-09-17 15:20 UTC (permalink / raw)
  To: Amir Hermelin; +Cc: nfs

hi amir-

using "rsize=3D8192" means the client *can* use 8KB reads,
it doesn't mean that it *always* will.  there are a variety
of reasons the client might choose 4KB reads even though
it could send larger ones.

can you describe your workload?

> -----Original Message-----
> From: Amir Hermelin [mailto:amir@montilio.com]
> Sent: Wednesday, September 17, 2003 2:45 AM
> To: nfs@lists.sourceforge.net
> Subject: [NFS] remounting with a different blocksize
>=20
>=20
> Hi,
> I'm using RH Linux 2.4.20 on both machines.  When I first=20
> mount one of the
> machines with a 4k read/write blocksize, the READ requests=20
> are 4K bytes.
> However, when I umount and then mount again with read/write=20
> blocksize of 8K,
> the READ requests are still 4K bytes.
>=20
> Any ideas on how I can properly change the blocksizes?
>=20
> Thanks,
> Amir.
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>=20


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: remounting with a different blocksize
  2003-09-17 15:20 Lever, Charles
@ 2003-09-18  7:19 ` Amir Hermelin
  0 siblings, 0 replies; 5+ messages in thread
From: Amir Hermelin @ 2003-09-18  7:19 UTC (permalink / raw)
  To: 'Lever, Charles'; +Cc: nfs

I'm really only running a small and specific number of tests, one READ =
at a
time, files ranging from 8K to 256MB.  Is there any place I can read =
about
the reasons why my client (Linux 2.4) isn't using the blocksize I need?

Thanks,
Amir.



-----Original Message-----
From: nfs-admin@lists.sourceforge.net
[mailto:nfs-admin@lists.sourceforge.net] On Behalf Of Lever, Charles
Sent: =E3 17 =F1=F4=E8=EE=E1=F8 2003 17:21
To: Amir Hermelin
Cc: nfs@lists.sourceforge.net
Subject: RE: [NFS] remounting with a different blocksize


hi amir-

using "rsize=3D8192" means the client *can* use 8KB reads,
it doesn't mean that it *always* will.  there are a variety
of reasons the client might choose 4KB reads even though
it could send larger ones.

can you describe your workload?

> -----Original Message-----
> From: Amir Hermelin [mailto:amir@montilio.com]
> Sent: Wednesday, September 17, 2003 2:45 AM
> To: nfs@lists.sourceforge.net
> Subject: [NFS] remounting with a different blocksize
>=20
>=20
> Hi,
> I'm using RH Linux 2.4.20 on both machines.  When I first
> mount one of the
> machines with a 4k read/write blocksize, the READ requests=20
> are 4K bytes.
> However, when I umount and then mount again with read/write=20
> blocksize of 8K,
> the READ requests are still 4K bytes.
>=20
> Any ideas on how I can properly change the blocksizes?
>=20
> Thanks,
> Amir.
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf=20
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net=20
> https://lists.sourceforge.net/lists/listinfo/nfs
>=20


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-18  6:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17  6:45 remounting with a different blocksize Amir Hermelin
2003-09-17 10:57 ` Steve Dickson
2003-09-17 14:04   ` Amir Hermelin
  -- strict thread matches above, loose matches on Subject: below --
2003-09-17 15:20 Lever, Charles
2003-09-18  7:19 ` Amir Hermelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.