How about dividing it up in a little loop?
Issue Q D DETAILS 000-FFF, Q DA DETAILS 1000-1FFF....



-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Michael 
MacIsaac
Sent: Monday, July 13, 2015 7:42 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] How to find a memory leak?

Ursula,

Any chance the requirement for contiguous memory in vmcp could be relaxed?
In my test case, 'Q DA DETAILS 0-FFFF' requires ~2.5 MB and, as I understand 
it, that output can simply not be obtained through vmcp.

Thanks.

    -Mike MacIsaac

On Mon, Jul 13, 2015 at 10:28 AM, Ursula Braun <ubr...@linux.vnet.ibm.com>
wrote:

> Tomas,
>
> the qeth driver has been improved in 2014 to reduce its demand for 
> contiguous storage:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
> drivers/s390/net/qeth_core.h?id=d445a4e28c0ff740e946ae22860be85428814c
> 39
>
> Regards, Ursula Braun, IBM Germany, Linux on System z Dev.
>
> On Mon, 2015-07-13 at 13:39 +0000, Pavelka, Tomas wrote:
> > > I wouldn't really put that at the feet of s390 (z/Architecture).
> >
> > Bad wording on my part. When I said s390 I meant the s390 part of 
> > the
> Linux kernel implementation, not the entire architecture. I meant to 
> point out that the other parts of the kernel are working on getting 
> out of the requirement of large contiguous buffers. AFAIK the vmcp 
> driver uses the largest buffer and as you say, if the diag allowed to 
> return discontiguous memory then it would solve the fragmentation 
> problem. There are few other places that used larger buffers, NIC 
> driver was one of them. So not sure if "all over" was the good wording 
> either, maybe I should have said "multiple places" ;-)
> >
> > Tomas
> >
> > --------------------------------------------------------------------
> > -- For LINUX-390 subscribe / signoff / archive access instructions, 
> > send email to lists...@vm.marist.edu with the message: INFO 
> > LINUX-390
> or visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > --------------------------------------------------------------------
> > -- For more information on Linux on System z, visit 
> > http://wiki.linuxvm.org/
> >
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit 
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

Reply via email to