All of lore.kernel.org
 help / color / mirror / Atom feed
* how to test rpc_pipefs
@ 2005-05-06 16:10 Christoph Hellwig
  2005-05-06 20:09 ` Trond Myklebust
  0 siblings, 1 reply; 21+ messages in thread
From: Christoph Hellwig @ 2005-05-06 16:10 UTC (permalink / raw)
  To: nfs

I have some simple changes to make rpc_pipefs use less obscure VFS
APIs and I'd like to test it before submitting, any idea how to give
rpc_pipefs some coverage without settign up a full-blown NFSv4 env?


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Memory usage
@ 2005-05-12  6:56 Edward Hibbert
  0 siblings, 0 replies; 21+ messages in thread
From: Edward Hibbert @ 2005-05-12  6:56 UTC (permalink / raw)
  To: Neil Horman, liz; +Cc: Sean Dogar, nfs

We've seen similar problems with 2.4 kernels, where the cache grows and =
starts swapping processes out causing atrocious performance. =20

We didn't find any solution on a 2.4 kernel (I'm not saying there isn't =
one - just that the various tuning parameters we tried didn't do it for =
us) and after considerable effort gave up and switched to a 2.6 kernel.  =


Regards,

Edward.

-----Original Message-----
From: nfs-admin@lists.sourceforge.net
[mailto:nfs-admin@lists.sourceforge.net]On Behalf Of Neil Horman
Sent: 11 May 2005 14:42
To: liz
Cc: Sean Dogar; nfs@lists.sourceforge.net
Subject: Re: [NFS] Memory usage


On Tue, May 10, 2005 at 08:07:52PM -0700, liz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> NFS server.
>=20
> We have a box running as a NFS server and a mysql server. What were
> running into is that we have a large amount of memory being sucked up
> by cache and the box is swapping like crazy. It doesnt seem to be
> release the cache back so im stumped. The only thing using memory is
> mysql.
>=20
> All we can think of is the NFS server is using kernel cache for
> caching (a reach i know)
>=20
>=20
Depending on how frequently your NFS client accesses its file data in =
cache,
swapping process pages may be the logical thing to do.  But if not, you =
can, in
the 2.4.21 RHEL kernels use the pagecache sysctl to help reduce =
pagecache usage more
quickly when under VM pressure.  Note that in 2.4.21, setting =
pagecache.max does
not place a cieling on how much memory is used for pagecache, it just =
sets
policy for where memory should be reclaimed from first when needed. Its =
all in
the paper that Seth Referenced.

Hope that helps
Neil

> |~        total:    used:    free:  shared: buffers:  cached:
> |Mem:  4224462848 4206002176 18460672        0 41304064 2938032128
> |Swap: 2146754560 1073373184 1073381376
> |MemTotal:      4125452 kB
> |MemFree:         18028 kB
> |MemShared:           0 kB
> |Buffers:         40336 kB
> |Cached:        2095616 kB                        <---- 2G disk cache
> |SwapCached:     773556 kB
> |Active:        3186300 kB
> |ActiveAnon:    1707252 kB
> |ActiveCache:   1479048 kB
> |Inact_dirty:    607944 kB
> |Inact_laundry:  117300 kB
> |Inact_clean:     65180 kB
> |Inact_target:   795344 kB
> |HighTotal:     3276224 kB
> |HighFree:         1200 kB
> |LowTotal:       849228 kB
> |LowFree:         16828 kB
> |SwapTotal:     2096440 kB                      <-- 1G swap usage
> |SwapFree:      1048224 kB
> |HugePages_Total:     0
> |HugePages_Free:      0
> |Hugepagesize:     2048 kB
>=20
>=20
>=20
> If it is indeed NFS is there a way to make it not do that :P I looked
> in my o'reilly book, googled and posted to kernel dev (WIth my
> asbestos jacket on and zipped up ;)
>=20
> The machine is running 2.4.21 EL-SMP
>=20
> Im completely stumped...
>=20
> Thanks for looking at it :)
>=20
> Liz
>=20
> |> How does NFS handle caching? more particularly is there a way to =
limit
> |> the memory usage for caching?
> |>
> |>
> |> Does it show up as kernel cache or is it displayed in the process
> |> list?
> |>
> | Liz,
> |
> | Are you referring to a nfs server or client?
> |
> | -Sean
> |
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
>=20
> iD8DBQFCgXcIlt/irWun80cRAqtaAJ9LaRgz6LN44xh9d0bbvpLizWW2egCePjTD
> QWAHmxtHMeyCOKqw3JcPVwg=3D
> =3DwkVW
> -----END PGP SIGNATURE-----
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs

--=20
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman@redhat.com
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Memory usage
@ 2003-04-14 15:47 Adam Luchjenbroers
  2003-04-14 16:16 ` Ray Olszewski
  2003-04-15  9:47 ` Peter
  0 siblings, 2 replies; 21+ messages in thread
From: Adam Luchjenbroers @ 2003-04-14 15:47 UTC (permalink / raw)
  To: linux-newbie

OS: Linux Mandrake 9.0
Kernel: 2.4.20
Soltek SL-75DRV5
512MB DDR
Althon XP2100+

I'm noticing memory usage that I cannot trace back to a process - alot of it 
too. I use top and the "M" command to list programs by memory usage - but 
what I see with it (or using other system monitoring tools) are only a few 
processes and none that can explain the memory usage.

Even dropping down to runlevel 1 still displays RAM usage in excess of 300MB. 
Maybe I've still got alot to spare but I still want to fix this problem - 
currently running BlackBox under X (I use some KDE apps, but even after 
killing off all kdeinit processes the memory usage stays high).

So, what would be the cause of this mysterious memory usage?

-- 
"taking advice on what the GPL means from Microsoft is like taking Stalin's 
word on the meaning of the US Constitution." - Eben Moglen

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: Unrecognized opcode: `mtdcr'
@ 2002-05-29 20:54 Matt Porter
  2002-05-29 22:23 ` Memory usage Owen Green
  0 siblings, 1 reply; 21+ messages in thread
From: Matt Porter @ 2002-05-29 20:54 UTC (permalink / raw)
  To: Matt Porter; +Cc: Tom Rini, Cameron, Steve, linuxppc-embedded


On Wed, May 29, 2002 at 01:43:50PM -0700, Matt Porter wrote:
> There is _a_ 440-specific opcode, dlbmnz.  It's not yet supported by
> gas (and ideally glibc).  For now, a 405 enabled toolchain is
> sufficient.

Heh, can't type...the opcode is dlmzb.

-Matt

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Memory Usage
@ 2002-02-11 14:52 Srikanta R
  0 siblings, 0 replies; 21+ messages in thread
From: Srikanta R @ 2002-02-11 14:52 UTC (permalink / raw)
  To: linux-mm

Hi all,

Which variable in /proc/meminfo (using 2.4.8 kernel)gives me the
correct memory usage at any point of time.
The problem is when I run my application, the "MemFree:" variable under
/proc/meminfo drops from around 25MB to 16MB. I kill the application
and "MemFree:" shows 17MB. How do I get the actual Memory being used ? ie
after I kill the application I should get "MemFree: = 25MB".

If I do the calculation which is being done in procedure -
nr_free_buffer_pages() (linux/mm/page_alloc.c) i.e adding the
zone->free_pages ,zone->inactive_clean_pages,
zone->inactive_dirty_pages, for all the zones, do I get the exact free RAM
available at any point of time(taking into consideration caching and all)
?

Thanks for any help or pointers.

Rgds,
Srikanta.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* memory usage
@ 2001-04-10 17:42 gis88530
  2001-04-10 17:49 ` Andi Kleen
  2001-04-11  8:37 ` Marcin Kowalski
  0 siblings, 2 replies; 21+ messages in thread
From: gis88530 @ 2001-04-10 17:42 UTC (permalink / raw)
  To: linux-kernel

Hello,

I can use "ps" to see memory usage of daemons and user programs.
I can't find any memory information of kernel with "top" and "ps".

Do you know how to take memory usage information of kernel ?
Thanks for your help.


Cheers,
Tom


^ permalink raw reply	[flat|nested] 21+ messages in thread
* memory usage
@ 1999-06-28 17:59 Jiu Zheng
  0 siblings, 0 replies; 21+ messages in thread
From: Jiu Zheng @ 1999-06-28 17:59 UTC (permalink / raw)
  To: linuxMM

I have some questions about memory usage:

If you type cat /proc/meminfo, you can see the following messages,

           total:          used:           free:         shared:
buffers:     cached:
Mem:  15015936 10260480   4755456  6352896  1523712  6025216
Swap: 98697216          4096 98693120
MemTotal:     14664 kB
MemFree:       4644 kB
MemShared:     6204 kB
Buffers:       1488 kB
Cached:        5884 kB
SwapTotal:    96384 kB
SwapFree:     96380 kB

Can anybody explain what EXACTLY are shared, buffers, and cached?
One can also get memory usage information of all processes by typing "ps
aux".
Are the numbers (in "RSS" collomn?) having any relationship with those
in /proc/meminfo ?

Thanks,

Jiu


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

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

end of thread, other threads:[~2005-06-28 11:49 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-06 16:10 how to test rpc_pipefs Christoph Hellwig
2005-05-06 20:09 ` Trond Myklebust
2005-05-10 12:27   ` Christoph Hellwig
2005-05-11  2:36     ` Memory usage liz
     [not found]       ` <42817444.1040707@catfeeder.net>
2005-05-11  3:07         ` liz
2005-05-11  3:33           ` seth vidal
2005-05-11 13:42           ` Neil Horman
2005-06-28 11:29     ` [PATCH, RFC] rework rpc_pipefs Christoph Hellwig
2005-06-28 11:39       ` Trond Myklebust
2005-06-28 11:49         ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2005-05-12  6:56 Memory usage Edward Hibbert
2003-04-14 15:47 Adam Luchjenbroers
2003-04-14 16:16 ` Ray Olszewski
2003-04-15  9:47 ` Peter
2002-05-29 20:54 Unrecognized opcode: `mtdcr' Matt Porter
2002-05-29 22:23 ` Memory usage Owen Green
2002-02-11 14:52 Memory Usage Srikanta R
2001-04-10 17:42 memory usage gis88530
2001-04-10 17:49 ` Andi Kleen
2001-04-10 20:08   ` gis88530
2001-04-11  8:37 ` Marcin Kowalski
1999-06-28 17:59 Jiu Zheng

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.