Re: A call to chair sessions at SHARE

2013-07-18 Thread Shane G
S 
Having had a (several) play with the scheduler toy, the only thing I can
confidently say is I'm not much better placed to help. I have no time slots
without a conflict of some sort.
I (currently) have no slots in the Linux/VM stream where I will definitely be
attending, despite there being several I badly want to. z/OS performance is
where I make my income - z/VM is a side interest; and unfortunately not a
very large one here in Aus

Would like to help, but can't.

Shane ...

On Sat, Jun 15th, 2013 at 8:47 AM, I wrote:

 Ugh - now I remember why the various streams have so much trouble getting
 volunteers for chairs. It's not just that we are a bunch of lazy bums -
 it's a *real* problem trying to work out which sessions one can actually
 attend.
 And things might move - or I might change my mind ...
...
 If I ever work out what I'm going to in this stream, I'll be in touch.

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


Re: CPUPLUGD or VMRM-CMM or CMMA

2013-06-27 Thread Shane G
I was never much enamoured with the original cpuplugd - and my customer
response to testing it was less than enthusiastic. This, however, looks more
interesting.
Now to see if I can convince the customer to retest using it (R/H 6.4).

Shane ...

On Fri, Jun 28th, 2013 at 1:12 AM, Bruce Hayden wrote:

 A whitepaper was published about a year ago about the updates to
 cpuplugd.

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


Re: A call to chair sessions at SHARE

2013-06-14 Thread Shane G
On Sat, Jun 15th, 2013 at 7:52 AM, Jagos, Brian V wrote:

 Hi All,
 
 It is that time of year again this is a call to chair SHARE
session.

Hadn't realised the schedule was out.
Ugh - now I remember why the various streams have so much trouble getting
volunteers for chairs. It's not just that we are a bunch of lazy bums - it'd
a *real* problem trying to work out which sessions one can actually attend.
And things might move - or I might change my mind ...

I know it's harder for the organisers than it is for us, but it's still not 
easy.
If I ever work out what I'm going to in this stream, I'll be in touch.

Shane ...

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


Re: Z9 to Z114, Z/VM5.4 to Z/VM6.2 and moving Z/OS to a guest?

2013-05-28 Thread Shane G
And just for completeness, I have a customer happily running 5.4 on a z114.

I would go for 6.2 on the new box, but you'd have to think IBM would cane you
something awful with licensing for running z/OS as guests.
Needs must I suppose ...

Shane ...

On Tue, May 28th, 2013 at 8:09 PM, Feller, Paul wrote:

 I can answer #3.  Yes z/VM 5.4 will run on a z114.  We are running it on a
 z196 (big brother to z114), but we had to apply maintenance to z/VM 5.4. 

...
 Hi list
 
 Looking for the way forward.
 
 Have a Z9 with 1 CP and 5 IFL's. Have 4 X Z/VM 5.4 LPARS with various
 versions of SUSE Linux running as guests and a Z/OS Prod and Test Lpar.
 
 Are installing a Z114 in a few weeks time and would like to upgrade to
 Z/VM 6.2 also
 
 Questions.
 
 1) Is it easier to move the Z/VM 5.4 Lpars over with the Suse Guest's and
 then upgrade to Z/VM 6.2? Or should I install Z/VM 6.2 and then move the
 guests (Will keep all of the device address's the same on the new
 machine.)
 
 2) According to IBM Z/OS 1.7 will not run natively in an LPAR on the Z114.
 We need to run it under Z/VM as a guest. Has anyone run into this problem?
 - Though I would create a separate Lpar with Z/VM and 2 X Z/OS guests
 (Prod an Test)
 
 3) Does Z/VM 5.4 run on a Z114?

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


Re: Anyone have any good Debian media for a z9

2013-05-23 Thread Shane G
I'm sure this will induce Philipp Kern to rise to the task.

However a quick search on this list will also get you Fedora - that might
suffice for educational purposes. Especially if you are RHEL inclined.
CentOS used to do a s390x build, but I haven't seen that in years.

Shane ...

On Fri, May 24th, 2013 at 9:52 AM, Cameron Seay wrote:

 We are trying to install Debian for z on a z9 and are running into issues
 with the installation.   Our media is coming from the Debian site.  Does
 anyone have any media they have uses successfully or any tips.  Red Hat
 will only give us a 180 eval copy for educational purposes and we want to
 use something else that we can use unfettered.  Help!
 
 Long live REALLY open source software
 
 --
 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/


Re: Big Dumps

2013-05-09 Thread Shane G
On Fri, May 10th, 2013 at 2:32 AM, David Boyes wrote:

 You're probably not going to budge them on that. 

With luck maybe Filipe can bring some more clout to the table  ;-)

Shane ...

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


Re: oracle java

2013-03-21 Thread Shane G
On Thu, Mar 21st, 2013 at 4:02 AM, Ben Duncan wrote:

 *SNARK* .. Gave up Java for Python.

lol - I went the other way. No real loss in my case as my Python was
rudimentary, and I wanted to write an app for my phone 
Now everyone tells me I should be on HTML5  d'oh.

Shane ...

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


Re: Speed of BASH script vs. Python vs. Perl vs. compiled

2013-01-30 Thread Shane G
On Thu, Jan 31st, 2013 at 12:44 AM, John McKown wrote:

 Thanks to all for the input! I _tried_ to run the script over night. I
 added an echo to tell me which input file I was working on. I came in
 this morning. It had been running from 14:00 to 06:30 (16 1/2 hours)
 and was still on the first input file. That ain't gonna cut it. Time
 to rethink. Using a Perl hash to contain an open file handle seems
 logical. As does buffering multiple records per output file to do a
 single I/O to write them. But I may be forced into using C or C++ for
 speed. Too bad I'm not a very good C programmer.

Interesting timing. I was about to suggest you utilize your perl skills.
Having originally ignored it, I now use awk extensively for text
parsing/reduction. But for *BIG* jobs, perl is it.

But all that input I/O is going to be death whatever you choose.

Shane ...

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


Re: Your postings on Linux-390

2013-01-29 Thread Shane G
I've had no trouble reading your mails from a (linux) mail client or a web
interface to my ISP mail q.
Using a web interface to linux-390, your messages disappear, leaving just
attachments.

Shane ...

On Tue, Jan 29th, 2013 at 2:59 AM, Richard Troth wrote:

 friends --
 
 Sincere apologies for blank messages and other strangeness and all
 this recent noise.

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


Re: Convert partition table to GPT?

2013-01-10 Thread Shane G
On Thu, Jan 10th, 2013 at 10:59 AM, Rick Troth wrote:

 GPT is s conspiracy of the partition police and the UEFI underworld.

A little  paranoia is good for the soul ...   :-)

 Partition tables are needed ... sometimes ... not always.  (One case
 where they are needed is when GRUB and UEFI gang up against the rest of
 us.)

Hmm - maybe a little harsh on grub.
We all have to tolerate the unreasonable demands of monopolistic
multinational conglomerates.

Probably every day for most of the people on this list.

Shane ...

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


Re: A call to chair

2012-12-21 Thread Shane G
On Fri, Dec 21st, 2012 at 12:40 PM, Jagos, Brian V  wrote:

 Yes SHARE is right around the
 corner and it is time for a call for CHAIRS.

I am constantly baffled that the various streams appear to have so much
trouble getting people to help on this. I can vouch that it ain't a tough
gig, and you are guaranteed to get a spot near the front  ;-)
So if you're going, think about it.

And no Brian, I won't be there ... sorry.

Shane ...

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


Re: Still can't install on z196.

2012-12-04 Thread Shane G
There is a thread on another list re why I love my z vendors.
Clear evidence here.

Excellent, pure and simple.

Shane ...

On Tue, Dec 4th, 2012 at 6:34 PM, Dan Horák wrote:

 yes, I've checked the sources for dracut (the tool that downloads the
 image after setting the needed devices online) and there is no way to
 set a proxy server. Please open a bug at https://bugzilla.redhat.com
 (product Fedora, compoment dracut) asking for this capability and let me
 know the bug number.

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


Re: VNC for RHEL 6

2012-11-28 Thread Shane G
Mark Post (from Suse) spake thus:

 RHEL ships with tigervnc (the client) and tigervnc-server.  Is there some
 problem with those?

Who says they don't keep an eye on their contemporaries ... :0)

Keep up the good work, one and all.

Shane ...

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


Re: xcat?

2012-09-01 Thread Shane G
Might explain the quality of the doco - kudos as appropriate.

Shane ...

On Sat, Sep 1st, 2012 at 10:07 PM, Thang Pham wrote:

 As of July 13, 2012, a service contract for xCAT on z/VM is available for
 purchase from IBM.  More info is available on
 http://www.vm.ibm.com/sysman/

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


Re: console-kit-daemon errors on SLES 11

2012-08-31 Thread Shane G
 As per the document one can modify the the syslog-ng.conf file to supress
 the messages.

React to the symptom (and hide the evidence) rather than fix the actual problem.
Has happened before, will do again.

Shane ...

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


Re: xcat?

2012-08-31 Thread Shane G
On Sat, Sep 1st, 2012 at 1:17 AM, Lee Stewart wrote:

 Is anyone using xcat (http://xcat.sourceforge.net/) in production?  Any
 comments on it?

Nope, but thanks for asking the question. Looks interesting.
My only comment would be that the z{VM,Linux} doco looks extremely well done.

Shane ...

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


Re: Too true to be funny - 51% of the surveyed Americans think that stormy weather can interfere with the functionality of the cloud.

2012-08-30 Thread Shane G
And ... ?.
http://gigaom.com/cloud/some-of-amazon-web-services-are-down-again/

Shane ...

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


Re: Collectl - open-source Linux performance monitor

2012-08-17 Thread Shane G
From a non-z perspective it is excellent. It's all (??? - the bits I've
looked at anyway) perl, has a daemon mode that creates a detailed history,
and is fine-grained in the data.
Mark, the developer, is very receptive to suggestions.

Must see if I can get it on a (z) customer site somewhere.

Shane ...

On Sat, Aug 18th, 2012 at 6:15 AM, Morris, Kevin J. (RET-DAY)  wrote:

 Has anyone on this list experimented with Collectl and its accompanying
 utilities?
 
 http://collectl.sourceforge.net/
 http://collectl-utils.sourceforge.net/
 
 For those without access to Velocity Software, this may be the next best
 thing...

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


Re: z/Linux and z/OS

2012-08-01 Thread Shane G
Seems this is a common refrain in this neck of the woods.
Lots of blue-sky stories, then little or no engagement.

There are (significant) successes, of which there are a few people subscribed
here, but there are also a number that are (deliberately) unpublicised.
Very unfortunate.

zLinux in Aus appears to the watching masses to be the promising child that
just never lived up to expectations.

Shane ...
(Tony, can you change your reply to pls)

On Wed, Aug 1st, 2012 at 8:48 AM, Tony Saul wrote:

 I'm probably just jealous and frustrated when I see success stories as I
 have been bashing my head against a brick wall for so long.

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


Re: Hipersockets over Guest LAN to MVS

2012-07-16 Thread Shane G
On Tue, Jul 17th, 2012 at 6:37 AM, Alan Altmark wrote:
...
 TCPIP is connected to two HiperSocket networks: one real (to MVS) and one
 virtual (to Linux).

Now, hold it right there fella. I want the order number for one of those
*real* hipersockets.
(haven't we been here before ... ;-)

Shane ...

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


Re: MIPS increase after SLES11 SP1 patches

2012-05-03 Thread Shane G
It should be noted top accepts a parm to adjust the report frequency - all
the way down to fractions of a second. *All* sampling based monitors have
their weaknesses - especially those that run in userspace.
However, for those of us that developed our performance tuning/debugging
skills in a traditional one-make proprietary environment the tools/metrics
available in Linux are generally seen to be somewhat lacking.

I am in the process of preparing a presentation on such for submission for
the next LCA - whether it fits the theme the organisers decide upon, let
alone gets accepted at all remains to be seen.

Shane ...

On Thu, May 3rd, 2012 at 2:48 PM, Srivastava, Sagarwrote:
...
 Standard
 Linux commands like top could not show the process since it ran for 10
 seconds per minute only.

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


Re: Kernel ring buffer date stams missing

2012-04-21 Thread Shane G
Be careful what you ask for.
This is _not_ a true (time-of-day) timestamp. At least it wasn't last I
looked. Think kernel active time since boot - useful for relative (timed)
occurrences for kernel events.
It would be reasonably trivial to adjust it to a ToD stamp, but it's going to
have some holes in it. 

Shane ...

On Sat, Apr 21st, 2012 at 6:28 PM, R P Herrold wrote:

 Not just a hint -- the Red Hat kernel configuration appears
 not to enable it -- but it may be trivially turned on:
 
 # echo 1   /sys/module/printk/parameters/printk_time

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


Re: pid swap space used

2012-04-13 Thread Shane G
On Fri, Apr 13th, 2012 at 3:41 PM, Mark Post wrote:

 /proc/*/smaps exists in SLES10, but there's no Swap: fields in them.

Arrgggh. That'll certainly get a bunch of zeroes out of that script.
Note to self, _never_ presume nuthin ...

Thanks Mark.

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


Re: pid swap space used

2012-04-12 Thread Shane G
No, by lazy in this context I meant that freed memory (pages) are not
immediately moved to the free list. This even extends to task termination.
If memory pressure ramps up sufficiently, kswapd will get kicked to balance
out the trees. Could take a while - like forever.

In addition to what Rob mentioned, there is de-dup and compressed swap cache
out in the wild already. How does the mug end user figure out what's what ?.

Shane ...

On Thu, Apr 12th, 2012 at 5:56 PM, Rob van der Heij rvdh...@gmail.com wrote:

 ... (assume Shane hints at that with lazy).

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


Re: pid swap space used

2012-04-12 Thread Shane G
On Thu, Apr 12th, 2012 at 8:37 PM, Rob van der Heij wrote:

 With 22 processes having this mapped, I would count it as 22 times 8
 kB while it really is just 8 kB on swap? And how come part of this is
 private when it's read-only?

Note the last sentence of my previous post. That applies (particularly) to
myself. The memory metrics are interesting in a number of ways.
For shared libraries the memory (swap in this case) appears to replicated,
but not additive. This was a burr in the saddle for so many people they
eventually invented PSS to try and apportion responsibility for RSS - that's
your ratio based on reference count (I think). Don't try to apply logic to it.
As for the private- it's *all private. That's what the p permission flag
is - indicates cow. My question would be what has changed to force an
anonymous allocation ?. And who was responsible, given that your referenced
allocation is zero ?.
Hopefully one of the bright folks in the German labs will come to our aid
whilst I sleep ...  ;-)

Shane ...

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


Re: pid swap space used

2012-04-11 Thread Shane G
- obvious first step would be to check the entire system, rather than a
subset you obviously think is the cause.
- smaps should be believed.
- Linux uses lazy (memory) allocation. This includes de-allocation. And swap.
Hence the various tools that simply read meminfo should be treated with
(extreme) care if you are basing decisions on it.
- the definitive way to check is swapoff/swapon. Bit drastic maybe, but the
swapoff will simply fail if there is insufficient memory available. Works
o.k. on test environments ...

Shane ...

On Thu, Apr 12th, 2012 at 12:09 PM, PHILIP TULLY wrote:

 I have a couple servers which show 100% swap space used but when I look
 I can't find which pids are have pages in swap.
 
   free -m
 total   used   free sharedbuffers
 cached
 Mem: 12061  11410650  0152
 6425
 -/+ buffers/cache:   4832   7228
 Swap: 1129   1128  1
 
 I was using the following to show how much swap space was being used it
 is either not working or there is nothing allocated to swap.
 
 for pid in `ps -ef|grep  ora| awk '{print $2}'`; do echo -n Pid: $pid
 ; cat /proc/$pid/smaps |grep -i swap| awk '{SUM += $2} END {print SUM:
  SUM  kB ( SUM/1024  MB)}'; done
 
 
 Does anyone have a different method for finding which pids are actually
 using swap?
 
 TIA
 
 Phil
 
 --
 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/


Re: zLinux guest cpu question

2012-04-06 Thread Shane G
On Thu, Apr 5th, 2012 at 6:06 PM, Lu GL Gao wrote:

 We know that linux cpu usage mainly include user cpu and sys cpu. But why
 performance toolkit value cannot corresponding with top command value?

heresy
Why not indeed.
Hipervisors are becoming a commodity item. IBM (and its ISVs) has fought
rear-guard actions on (costly) proprietary options in the past.
And lost.
Anyone remember SNA ?. Token-ring ?.
Maybe IBM were ahead of their time with VIF - time for a resurrection maybe ?.

Instead of trying to force users to conform to z/VM, maybe the powers that be
should be looking to contribute useful metrics upstream, and merely make z/VM
a generic hipervisor so users can concentrate on the things that earn them a
buck.
Or just toss it all in and get the z KVM module up to spec.
/heresy

Shane ...

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


Re: zLinux guest cpu question

2012-04-06 Thread Shane G
Sorry Alan - I trust your paroxysm of coughing did no lasting damage   ;-)
I meant the concept, not necessarily that precise implementation.

Shane ...


On Sat, Apr 7th, 2012 at 3:22 AM, Alan Altmark wrote:

 (cough) With VIF, we learned an important lesson on how NOT to make a
 hypervisor.

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


Re: New book: Linux Health Checker 1.0 User's Guide

2012-03-21 Thread Shane G
And is already linked off the sourceforge page. Excellent work !.

Shane ...

On Wed, Mar 21st, 2012 at 9:25 PM, Dorothea Matthaeus wrote:

  The Linux Health Checker User's Guide will soon be available also on
  developerWorks.

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


Re: New book: Linux Health Checker 1.0 User's Guide

2012-03-21 Thread Shane G
C'mon Mark, be a bit more positive   lol.
Let's hope Barbara doesn't get to hear of this (*) ...  ;-)

Shane ...
(*) - apologies to those not on IBM-MAIN

On Thu, Mar 22nd, 2012 at 2:25 AM, Mark Post wrote:

 I'm more interested in a mechanism to report bugs.  From perusing the
 SourceForge pages for the project, it appears the only open avenue at the
 moment is to subscribe to their mailing list.  :(

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


Re: RES: Emergency

2012-03-19 Thread Shane G
It doesn't matter much - all the important meta-data is at the front and
gets clobbered first.
Usually.

LVM is greatly lauded as an Enterprise solution, but the initial design was
terribly flawed, and numerous iterations to rectify it have not been entirely
fruitful.
IMHO of course.
Even if only a subset of the devices has been trashed, just getting LVM back
to a usable state can be a devil of a job. Without (decent) backups any
overwritten data is gone.

Shane ...

On Tue, Mar 20th, 2012 at 8:42 AM, Helio Mario Neves Pimentel de Oliveira wrote:

 I don´t how far the formatting exec went, before the machine hanging.

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


Re: Cannot add drive to existing LVM SLES 11 SP 1

2012-03-14 Thread Shane G
This is just your friendly vendor messing with you.
Not to mention LVM itself.

An lv is not a volume, it's really a partition - no, wait, that's what a pv
is ...
Unless, of course, a pv is a full volume, and not a partition at all.
And a vg is a group of volumes except when a pv is not a partition, but a
volume, which makes the vg a group of ... never mind :eek:.

Overloaded acronyms are always lots of fun.

Shane ...

On Thu, Mar 15th, 2012 at 9:11 AM, Tom Duerbusch wrote:

 Just have to know the secret handshake and all is well G.

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


Re: Oracle in virtual environments

2012-02-27 Thread Shane G
C'mon Rodger, stop beating around the bush - say what you really mean   ;-)

Whenever I've sat in on any presentations by database developers , they
*always* want all the memory, to do their own (direct) I/O, avoid O/S
services (like caching) and to hell with the rest of the users of system
services.
Linus (as is his want) has also reacted (er, ranted) about this anti-social
behaviour.

Some days it is just a whole lota fun being amongst the spectators.

Shane ...

On Mon, Feb 27th, 2012 at 11:10 AM, Rodger Donaldson wrote:

 Given Oracle's own support matrix says they officially support not just
 zVM but OracleVM for Intel (i.e. rebranded Red Hat Linux), OracleVM for
 SPARC (SPARC T-series domains), Solaris containers, and M-series domains,
 I would be tempted to ask your DBAs if they're just lazy or actually too
 incompetant to read the documentation on the product they're being paid
 to support.

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


Re: LVM mount points

2012-02-23 Thread Shane G
I must admit some ambivalence to being hamstrung by such standards.
I did enjoy having a read of this:
http://lists.busybox.net/pipermail/busybox/2010-December/074114.html

Shane ...


  ...
  The default in /opt/IBM is not a great option.
 Per the FHS, I believe it should have been (should be) /var/opt/IBM/.

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


Re: ksoftirqd using 100% CPU

2012-02-10 Thread Shane G
On Fri, Feb 10th, 2012 at 11:00 PM, Joerg Reuter wrote:

 On Thu, Feb 09, 2012 at 04:43:25PM -0600, Ron Foster at Baldor-IS wrote:
 
  The only messages I can find have to do with a hipersockets time out.
  Feb  9 11:21:39 bus0104 kernel: NETDEV WATCHDOG: hsi0: transmit timed
 out
  Feb  9 11:21:39 bus0104 kernel: qeth: Recovery of device 0.0.5100
  started ...
 
 Hmm, that shouldn't happen.

Lol ...
I was wondering if the OP could see anything from z/VM, but if it really is a
softirq/tasklet problem that probably means (Linux) dodgy driver.
And in almost all occasions that probably means network ...

Keeping an eye on /proc/interrupts might be instructive.

Shane ...

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


Re: Undeleting files

2011-12-14 Thread Shane
On Wed, 14 Dec 2011 16:00:52 -0600
Tom Duerbusch duerbus...@stlouiscity.com wrote:

 Instead of copying the files, I thought syncing the directories would
 be easier. Well, I synced an empty directory to the Linux directory.
 All files are gone.

I did some non-z testing a while back where I managed to recover an ext3
filesystem that had been quick formatted as NTFS. Seems home users do
that a bit.
For a newly created (ext3) filesystem that had a few files copied to it
and then formatted - so managed test, not real world -
mkfs.ext3 -S ...
enabled all the files to be found by name and recovered.

Note also the caveats in the manpage.

Shane ...

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


Re: Porting old application- numeric keypad

2011-12-14 Thread Shane
On Wed, 14 Dec 2011 18:34:45 -0500 Smith, Ann (ISD, IT) wrote:

 I do have another question for folks
 They seemed to have used the dircmp command a lot - in particular
 'dircmp -d' It appears that linux distro does not have dircmp
 Trying to find an equivalent for SLES10

diff -r dir1 dir2
If you only want the filenames use -q as well.

In need delete the Only in ... lines with something like sed or awk.

Shane ...

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


Re: Question of UTC vs Local Time

2011-11-29 Thread Shane
On Tue, 29 Nov 2011 13:04:55 -0600 McKown, John wrote:

 One is to simply wait for n hours for the
 GMT version of the TOD clock to move forward from the local TOD clock
 time (US EST would be a 5 hour wait). This is not likely to go over
 well with management. grin.
 -
We looked at this (in a z/OS not zLinux context) a few years back - n
in this case was 10.
No-go; even looked at 2 or 3 smaller jumps. All too hard.

Not much later the site took a significant outage - redundant power
feeds to a DASD controller were found not to be. Several hours later it
all came back online.
If only we could co-ordinate these things   ;-)

Shane ...

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


Re: mvsdasd

2011-11-08 Thread Shane G
On Wed, Nov 9th, 2011 at 3:44 PM, Alan Altmark wrote:

  Just because the current crop of security weebles don't get it does
  not a true problem make.
 
 Eh?

LOL.
Should it come to pass that Alan and I are once again in the same bar
imbibing the best of Aussie brews/wine, I must remember to remind him of the
time he was accused of being a (security) weebie (which I just had to look
up to assuage my ignorance).
 
:-)

Shane ...

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


Re: Odd swap space behavior

2011-11-02 Thread Shane
On Wed, 2 Nov 2011 11:29:40 -0400 Richard Troth wrote:

 So what you're seeing
 is random pages which got pushed out at various times during the
 stress period.  If not needed, they will sit there forever.

Well, maybe not forever ... ;-)
This lazy (de-)allocation behaviour of Linux is worth remembering. It's
just too expensive to continually run the q's to clean this up. Later
kernels expose the per-pid (actual) swap usage - I haven't figured out
if there is yet a reliable means of discerning disk vs. cache swap
usage.

 I like to
 differentiate between swap occupancy and swap movement.  The
 occupancy doesn't really hurt you in terms of response time.

Most of the time.
If memory pressure ramps up *really* quickly, kswapd gets kicked into
action to run the q's to free up pages. And it can cycle back through
chasing enough memory to free.
Not likely in this scenario, but if kswapd needs to work, you wait.

Shane ...

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


Re: Install tape driver error on zlinux

2011-10-18 Thread Shane
On Tue, 18 Oct 2011 11:41:47 +0200 Steffen Maier wrote:

 Since you (had to) build the lin_tape device driver kernel module
 yourself it is formally flagged as not supported by SLES11 and
 therefore modprobe denies loading the module.

I wonder how this sits philosophically with users.
At least they didn't mark it as crap I suppose (see
https://lkml.org/lkml/2011/10/6/317)

Shane ...

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


Re: Install tape driver error on zlinux

2011-10-18 Thread Shane
On Tue, 18 Oct 2011 13:51:37 -0600 Mark Post wrote:

 If the OP _has_ to use lin_tape for whatever reason, he needs to
 understand that running with a tainted kernel _might_ put some
 additional burden on him in the future.

Is this not GPL licensed code ?.
If so, just how does running it result in a tainted kernel ?.

Shane ...

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


Re: dasd_configure doesn't see partition 1 on RO disk

2011-10-14 Thread Shane
This just has to be disaster waiting to happen - as per the initial
post.

 Detach/attach is the only time Linux forces a re-read of the data
 actually on the disk for the R/O systems, so you need to sync on the
 R/W system, then detach/attach on the R/O systems to pick up the
 actual changes.

And don't be too keen to rush over and do the attach. [f]sync (in
general) _doesn't_ force the changed data to disk - it merely schedules
the I/O. Big difference.

 Yes, but it's smart enough to allow journals to be turned off and on
 with commands.

This is also true of ext[34]. XFS may well offer other benefits as
David alludes.

Shane ...

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


Re: z/VM 6.2 ?

2011-10-12 Thread Shane
On Wed, 12 Oct 2011 11:03:16 -0400 Jim Elliott wrote:

 Shane: The z/VM 6.2 stuff went live on the www.vm.ibm.com at 10:00AM
 ET today. The rest of the System z updates went live earlier in the
 day.

Thanks Jim et al, I actually found the under construction page for
6.2 just after I posted.

Shane ...

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


Re: IHS WAS throughput query

2011-10-10 Thread Shane
On Tue, 11 Oct 2011 08:35:18 +1300 Rodger Donaldson wrote:

 ... it's probably a Java problem.

*probably* - did you say probably ... 
ROTFLMAO.

Shane ...
(BTW, just noticed, you need to change your Reply to ..)

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


Re: Newbie question on lvm

2011-10-06 Thread Shane
On Wed, 5 Oct 2011 23:24:24 -0600 Mark Post wrote:

 It is still needed on SLES10 systems, which is what the OP was
 running.

In which case I apologise for being misleading.

Shane ...
exits stage left biting tongue ...

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


Re: Newbie question on lvm

2011-10-05 Thread Shane
resize2fs has been the supported (online) tool for a _very_ long time.
If you can conveniently get the lv unmounted and feel more comfortable,
by all means do so, but is unnecessary.
Backups, thems is necessary - any time you're screwing with your data,
not just on resizing. But I (slightly) digress.

Shane ...

On Wed, 5 Oct 2011 23:31:35 + Davis, Scott wrote:

   No, LV shows the space. When I use ext2online
   dmesg shows -- JBD: ext2online wants too many credits (1034 
 1024) Google results say it's a bug. I will use resize2fs
 un-mounted.

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


Re: Redhat trying to patent netboot?

2011-10-01 Thread Shane
On Sat, 1 Oct 2011 10:42:12 +0200
Philipp Kern pk...@debian.org wrote:

  I, for one, would prefer companies with a good track record of
  commitment to the open source world hoover up dumb patents and leave
  them sitting idle rather than Apple getting hold of them and
  launching another one of their efforts to stop anyone else making
  GUIs, smartphones, or whatever.

 and then getting buyed by some evil corporation who uses the patents
 against everyone else?  (C.f. Sun and Oracle.)  It's not that Sun was
 particularly hostile to open source.

I shouldn't get involved in this - I will probably piss {some,every}one
off big time.
What the hell ...

Long ago I looked at buying a Lisa - but I wanted to upgrade it.
Like Apples fscked up business model would allow that ... never bought
Apple, never will.
And who amongst you believe Larry Ellison has *your* interests at heart ?.
CPTN Holdings maybe ... ?
Redhat ... ?
Ubuntu ... ?

Sorry, the times of innocence have passed.

Shane ...

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


Re: System Load and it's indigrents/meaning definition

2011-09-28 Thread Shane
On Wed, 28 Sep 2011 10:18:55 +0200 Rob van der Heij wrote:

 Including the D in the count as competing for CPU resources is
 motivated by the assumption they will soon be R again.

Which is all fine *if* everyone plays by the rules. Short-lived D
is fine - say from an interrupt handler like it was (presumably)
designed for.
Unfortunately it got loose in the developer world. If code marks a
thread as uninterruptible sleep, it is exactly that. It accepts no
signal *at all*. And unlike zombies, they never get reaped if the
mother task goes away.
Imagine a sysadmin rings and says his Bozo AG system (which run all of
Prod) has just stopped and issued a message saying the loadavg is above
(say) 250% of the number of engines.
Running tasks - 2; engines 4; loadavg 11; CPU% ~0 !!!.
U. Add a couple of virtual CPs gets the ratio down but what do you
do when in 2 hours time the loadavg is 20, then later 100 ?.

This is just a terrible metric to base decisions on.
A re-boot is required to clear a situation like the above - and it
happens.

Shane ...

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


Re: System Load and it's indigrents/meaning definition

2011-09-27 Thread Shane
On Tue, 27 Sep 2011 19:44:02 +0200 Rob van der Heij wrote:

 The probably refer to load average which is the number of processes
 that run or would be able to run. The easy math is that for an N-way
 guest, the load average larger than N means that processes wait to get
 CPU resources. Since CPU resources are often the most expensive part,
 it's good to wait for CPU rather than something else. If your load
 average is lower than N, there's no CPU waiting as far as Linux is
 concerned.

Note that this is the *Unix* definition of loadavg - not the Linux
definition.
Unfortunately one of those of old saws that has been handed down
through the generations. Software designers have been known to use this
metric to (dynamically) limit connections to their software - database
for example. Bad idea.
Mark gave the correct definition. Note that processes in
uninterruptible sleep (state D) comprise more than just those waiting
on (disk) I/O to complete as is commonly asumed. HTTP servers parking
threads as D then forgetting about them is not unknown. Makes an
awful mess of the loadavg - and any software using the metric
incorrectly.
Mind you, it's hard to think of ways to use it correctly ...

Almost as meaningless is %wa.

Shane ...

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


Re: Window question

2011-09-26 Thread Shane
Windoze provides help cmd for a subset of commands. If that fails
try cmd /?. Should work for dir.
I can't count the number of times I've used ls (out of habit) on
Windoze systems    :(

Shane ...

On Mon, 26 Sep 2011 17:53:45 -0400 Eddie Chen wrote:

 I need a recursive list of sub-directories under the Z drive.

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


Re: HugePage support with RHEL

2011-09-03 Thread Shane
On Fri, 2 Sep 2011 09:54:31 -0500 Stephen Frazier wrote:

 Looking at IBM past support for new hardware in guests of z/VM, I
 would suggest that it will be supported in z/VM 7.1 or before. Look
 for edat facility support to be added in a as yet unannounced point
 release of z/VM 6.?. Also, IBM probably will not talk about it until
 they are ready to announce it.

Maybe it's my jaundiced eye, but I have a different perspective on this.
IBM are the proprietary (monopoly ?) supplier of both the hardware and
the software (in the case of z/VM).
So you can't tell me they don't know what's in the future product.
Why isn't support there day one ?. Look how long it took for CP 32-bit
storage constraint relief to make it out the door - how about STP
support ?. z/OS knows all about (non-virtualized) big page support - and Martin 
and
his mates were able to fudge it *in the guest*. This is hipervisor
responsibility.
Maybe if/when live guest relocation makes it out the door, such
features will suddenly become worthwhile investing developer time in.

Shane ...

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


Re: Is MVS TRSMAIN (terse) available for zLinux?

2011-07-29 Thread Shane G
Have you considered alternatives - pax for example ?.

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


Re: Poor man's top

2011-07-23 Thread Shane
 Doesn't do everything top does - but does show the 'top cpu users'.

But it is showing a _different_ 'top cpu users'
top is typically used to show an interactive instantaneous view
(FSVO instantaneous), not an accumulated view since process start.

Be aware of what you (actually) asked to see, versus what you think
you're seeing. I might be inclined to reduce the clutter in the
offered solution; say -o pid,pcpu,comm.

I also wonder how many shops habitually run top with -d 10 - might
ameliorate the perceived cost of running it.

Shane ...

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


Re: is ext4 ready for production use?

2011-06-27 Thread Shane
On Mon, 27 Jun 2011 10:15:40 -0700 Donald Russell wrote:

 I'm about to build some new RHEL 5.6 systems on zVM 6.1 the old
 servers use ext3 file systems, but I have the option to use ext4.

 Is ext4 ready for production use, or is it still rather
 experimental.

I would posit that ext4 long ago moved out of experimental. Not sure
of the status as regards (s390) RHEL 5.6 though.
There were some issues initially where Ted decided to fix some
errant (from his perspective) behaviour in ext3. Unfortunately some
developers had taken advantage of that behaviour and the change broke
user filesystems. Linus went off his tree at that, so it was
un-fixed ...   ;-)
Speaking to Ted at a conference a couple of years back, he saw ext4 as
a logical progression of ext3, but more as a step along the journey
to something better.
He nominated btrfs as the successor.

ext4 is more attuned to large filesystems - have a read of the
following for a reasonable overview.
http://kernelnewbies.org/Ext4

Shane ...

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


Re: LVM on CKD?

2011-06-08 Thread Shane G
On Thu, Jun 9th, 2011 at 6:12 AM, Mark Post wrote:

 To be honest, I don't think LVM itself cares about the partition type. 
 pvcreate will use any partition you point it at.

This is unfortunately (almost unbelievably) true - with the notable exception
of swap. Regardless of the partition type of a swap extent, pvcreate
recognises the swap header and will query you before trashing it.
Any other partition type - including those with valid filesystems and data -
will be fair game.

Shane ...
(N.B. - not (re-)verified on z/)

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


Re: SwapCache

2011-06-02 Thread Shane
On Thu, 2 Jun 2011 05:43:14 -0700 Dave Czajkowski wrote:

 Is there a way to disable or limit the amount of SwapCache?   I
 understand it's function, but the double allocation of these pages is
 causing my low memory alerts to trip.

This would imply to me that your triggers are poorly set.
Would you care to expand on the double allocation of these pages ?.
My understanding is that the swap-cache is merely a different state
of pages in the page-cache.

 I can remove the swap copy with a swapoff/swapon.   Is there a more
 elegant way to remove?

Not that I've found.
Past discussions on LKML have elicited little (no) sympathy for
including controls for specific memory controls.
Perhaps Allan Cox will pass by again and offer an opinion.

Shane ...

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


Re: cmsfs-fuse package in RHEL 6.1

2011-05-28 Thread Shane G
H - and why isn't this generally available ?.
Open source ... ???

Not meaning to piss on the messenger, but I'm happy to do likewise to the
policy makers involved.
This is just *bad*.

Put it out there, let the community benefit.
Having been the recipient of IBMs progression to OCO, this just rubs me the
wrong way.

Shane ...

 Just an fyi for anyone interested in cmsfs.
 
 cmsfs-fuse is a new feature included in RHEL 6.1 (released last week)
 which allows write access to a CMS filesystem.  For example, it's now
 possible to edit files on a guest's 191 disk with a Linux text editor
 like 'vi'.
 
 It's contained in the package 's390utils-cmsfs-fuse', but you won't find
 it in the normal channels for download with RHEL 6.1 on
 http://access.redhat.com.  Instead, it's in the 'optional' channel for
 6.1.

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


Re: cmsfs-fuse package in RHEL 6.1

2011-05-28 Thread Shane G
 ... which allows write access to a CMS filesystem.

Note the *write* access - is this generally available ?.

Shane ...

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


Re: SSH X connection to z/Linux from Android?

2011-04-01 Thread Shane G
Hard to argue ...  lol

Shane ...


On Fri, Apr 1st, 2011 at 10:15 PM, Mauro Souza wrote:

 But anything is better than twm.

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


Re: Where is kernel loaded in memory?

2011-03-17 Thread Shane G
And which real address 0 might that be ?.
Remembering that most people will be running as a guest under a hipervisor
(z/VM) running second level under another  hipervisor (PR/SM).

I note our German maintainers have been conspicuously quiet

Shane ...

On Thu, Mar 17th, 2011 at 6:32 AM, Mark Post wrote:

  Is there a way to tell externally (command or otherwise) where the
  zLinux kernel is loaded in memory?
 
 It gets loaded at real address 0.

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


Re: Where is kernel loaded in memory?

2011-03-17 Thread Shane G
As Rob pointed out, good luck trying to figure what that actually resolves to
hardware-wise.

Shane ...

On Thu, Mar 17th, 2011 at 8:46 PM, Heiko Carstens wrote:
 
 The kernel gets loaded to address absolute zero ...

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


Re: Where is kernel loaded in memory?

2011-03-17 Thread Shane G
And another good thread was had by all.

Whilst I suspect the initial question was in no way related to the problem
observed, the asking elucidated some fine information on the zSeries port for
those of us with a morbid fascination in such matters.

Thanks to all.

Shane ...

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


Re: cleaning up /tmp

2011-03-11 Thread Shane G
I've been known to drop files in /tmp for later collection - by myself or 
others.

Have you considered skulker ?.

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


Re: cleaning up /tmp

2011-03-11 Thread Shane G
Just to clarify, this was based on the OE reference - i.e Unix Systems
Services running under z/OS rather than zLinux.

Shane ...

On Sat, Mar 12th, 2011 at 1:44 AM, I wrote:

 Have you considered skulker ?.

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


Re: Spiking server

2011-03-04 Thread Shane G
My perspective on this is that swap is there to soak up allocations you
weren't prepared for.
Who cares about the cost of (virtual) disk allocation.

As for Rob (who works for someone that sells software monitors) beating up on
someone who works for the hardware vendor ... ???
Chill fella ... just chill.

Chewing up all the (guest) memory, then doing likewise to the z/VM memory
(extended included) can't be good. Especially if it all finally goes base
over apex as the OP indicated.
Swap is generally cheap - outages are expensive ...
As are the arse-kicking episodes afterwards.

Shane ...

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


Re: Convert filesystems now or wait for SLES1x?

2011-02-21 Thread Shane
On Mon, 21 Feb 2011 23:54:53 -0700
Mark Post mp...@novell.com wrote:

  On 2/22/2011 at 01:42 AM, Leland Lucius lluc...@homerow.net
  wrote:
  Up til now we've used Reiser and would convert to ext3 as part of
  the rebuilds.  But, should we leave all of this until the next
  upgrade? Will the next recommendation be btrfs or ext4?  Will they
  still be too new to bet the house on?

 I would wait until a system gets replaced or upgraded.  I doubt very
 much that ext4 will ever be a SUSE Linux standard.  btrfs might be,
 but not in the short term, and certainly not for SLES11.  SLES12
 would be the earliest, if at all.

Interesting - ext4 has been stable for quite a while now. Whilst even
Ted (the maintainer) describes it as an interim step on the road to
btrfs, I must admit to being surprised SLES11 didn't run with it as the
default f/s.

btrfs has some beaut features (especially if you have to shout down
Solaris/ZFS bigots), but it ain't ready for prod yet.
Close tho' ...

Shane ...

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


Re: LVM, PAVs, and cloning

2011-02-01 Thread Shane G
You wish 
You'll find them scattered hither and yon - especiallly with LVM faking
a(nother) block device layer.

And, as you've already discovered, the second U is a lie. Sometimes ...

Shane ...

On Wed, Feb 2nd, 2011 at 10:48 AM, Alan Altmark wrote:

 Ah, so these UUIDs are not the builtin UUIDs of the DASD devices?  E.g.
 IBM.3390.274.04E kinds of things.

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


Re: Linux preferences

2010-12-22 Thread Shane G
And as a dispassionate (database ignorant) observer, I'm happy to see such a
response from a vendor.
Top points.

Shane ... 

On Wed, Dec 22nd, 2010 at 10:17 PM, Damian Gallagher wrote:

  The Oracle DBA indicates that Oracle is easier to implement under Red
 Hat - I'm interested in what this means precisely, as we should be pretty
 similar in each environment - we only have the one code set and installer.
 If there are significant differences that people are finding (on Z) then
 I'm happy to look into it.

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


Re: Need a little help with a Linux script

2010-12-09 Thread Shane
On Thu, 9 Dec 2010 09:57:55 +0100
Agblad Tore wrote:

 I would say: don't use script for monitoring cpu.
 You may not get the correct cpu figures from inside the Linux
 and these cmds in scripts consumes huge cpu and I/O !!

I can't see where parsing the output from mpstat would universally
qualify for this admonition.
Your bad experience is yours, not everyone elses.

 Do it in z/VM and a nice Rexx instead, much better !

This may well be true for something like overall CPU usage of the
entire guest - bit hard to determine userspace usage from the
hipervisor though. Probably also presumes the availability of a monitor
product of some sort on z/VM.

Shane ...

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


Re: Need a little help with a Linux script

2010-12-08 Thread Shane
awk (particularly GNU awk) is as flexible as your would generally
require. If you use it's capabilities you could save a lot of
seemingly redundant re-processing of the data.
I might be inclined to feed the mpstat straight into the read loop and
mangle it all with one awk call (per line). No grep, cut - even the
echo could probably go if you get a little creative.

Each to their own.

Shane ...

On Wed, 8 Dec 2010 17:21:53 -0500
Bauer, Bobby wrote:

 Thanks but since I'm not familiar with perl I'll stick with awk. I'll
 look at skipping the grep stage.

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


Re: Red Hat Enterprise Linux 6 - installing problems

2010-12-05 Thread Shane
I have to say that I find doing Herc installs under Linux *s* much
easier. Including Linux hosting of any ancillary services - like nfs.
Especially if (like me) you just want it done - use something like
Ubuntu; it'll punch the appropriate holes in iptables so you can
actually share the data.

Fedora is a PITA - you have to assign specific (i.e. non-random) ports,
then open them up. All too much trouble - what the hell is the package
manager (*not*) doing during the install ?.

Back to your regular programming ...

Shane ...

On Sun, 5 Dec 2010 22:40:39 -0500
Alan Altmark wrote:

 Actually, the problem is not the file structure, but Windows XP
 itself. Windows Vista is the first version of Windows to include
 support for symbolic links in NTFS.  Hopefully MS added the support
 to the CD/DVD drivers as well.

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


Re: Announcing Red Hat Enterprise Linux 6

2010-11-25 Thread Shane
Hopefully you are talking about the Beta.
I managed to get both the base and Workstation working under Herc - the
latter was a smoother install IIRC. Unfortunately we are in the process
of moving to a smaller office - I fear both those machines were deemed
excess to requirements.

If I get bored watching the (cricket) test over the weekend I might try
an install at home.

Shane ...

 On Fri, 26 Nov 2010 10:14:40
+1100 Bern VK2KAD vk2...@hotmail.com wrote:

 Has anyone been able to install RHEL6 under Hercules ??? - I could
 use some help.

 I have been able to IPL from the card reader but I am stumped with the
 network setup and as such can't establish a SSH session.  Sample of
 something that works would be much appreciated.

 B.

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


Re: Problems with DASD driver on SLES 11 SP1?

2010-11-23 Thread Shane
dd is _the_ absolute worst option for backups. It is stupid, has no
concept of data integrity, and is stupid.
And the default conv options are appalling - and it's stunningly stupid.

Great for image  copies in failure/forensic situations, other than that
it's downright ... er, see above.

[f]sync doesn't really help a lot in this situation either - from a
Linux perspective. Last I looked (on a non-z system), fsync doesn't
guarantee the (physical) I/O actually gets written then-and-there.
Linux has I/O schedulers in play, and then there is pdflush/BDI to
worry about waking up. Sometime, somewhere the I/O does get flushed.
Blktrace has been around for a while now - the (timimg) output makes
for interesting reading.
Then we have z/VM snoozing away in the corner ... Sebastian and his
cohorts can fill you in there.

If it (ever) worked you were IMHO lucky. I'd be slipping some (long)
sleeps in your scripts.

Shane ...

On Tue, 23 Nov 2010 10:51:53 +0100
Sebastian Ott wrote:

  2. Problem:
 
  Because I lack the FLASHCOPY function I use for disk to disk copy
  dd.
 
  dd bs=4096 if=/dev/dasdx of=/dev/dasdy
 
  In principle it works ok. But when I do a chccwdev -d 0.0. even
  with an udevadm settle --timeout=20 afterwards,
  the file system gets corrupted, when I attach it to another guest.
 
  I am really lost since all that was working well under SLES 10 SP2.
  I would really like to know if someone had similar experience in
  SLES 11 SP1.

 The data is not guaranteed to be written in this case. This is due to
 changes in the linux block layer (it was not guaranteed to be written
 in sles 10 either but worked by chance).
 You have 2 options here:
 * tell dd to sync its data (check the man page - i think the option is
 fsync)
 * manually run sync after dd returns

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


Re: HCPGIR450W and HCPGIR453W after editing user direct

2010-11-05 Thread Shane
Thanks Alan and Berry and everyone else who responded.
Alan this wasn't my intent. When I said immediately I meant
immediately upon receiving the (guest) IPL interrupt.
And I agree with Berry - dynamic changes can (and should) be carried
forward. Changes to what I called the z/VM environment - like USER
DIRECT- I reckon can (and should) be reflected back to the guest, and
implemented *at that IPL*.

Obviously I'm out in left field on this, but I'll keep Alans
pronouncement to logout in such cases in mind in future.

Thanks again ...  Shane

On Fri, 5 Nov 2010 10:15:08 -0400
Alan Altmark wrote:

 It would be a Bad Thing if changing the directory changed a running
 virtual server.

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


Re: HCPGIR450W and HCPGIR453W after editing user direct

2010-11-04 Thread Shane
Alan, for those of us that stumbled from the real (FSVO real) world
into the rabbit hole that is z/VM, are admonishments such as this
inscribed in stone anywhere ?.
Where I came from IPL clears up everything - this is not something I
would have inherently expected. I can (now) see the logic, but it ain't
in your face obvious.

Shane ...

On Thu, 4 Nov 2010 20:56:53 -0400
Alan Altmark wrote:

 ... you will want to LOGOFF the guest and LOGON again to pick up
 the directory changes.  IPL of a guest is not sufficient to pick up a
 directory change.

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


Re: Fedora 14 on System Z alive and kicking!

2010-10-07 Thread Shane
Decided I should finally have a look at this.
Performance is (remarkedly) acceptable on my 1.7 GHz Pentium M
(sub-)laptop. Takes a while to fire up, but that's o.k.
Isn't your average build of course ... ;0)

Shane ...

On Tue, 28 Sep 2010 17:14:23 +0200
Karsten Hopp wrote:

 Hercules images and instructions on how to run that or how to install
 it yourself can be downloaded from

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


Re: zSeries multibook query

2010-10-06 Thread Shane
Thanks Heiko, much appreciated.

Shane ...

On Wed, 6 Oct 2010 10:24:00 +0200
Heiko Carstens wrote:

 Or in other words: Linux is not aware if memory is local or remote.
 However the cpu topology is known (that is: which cpu belongs to which
 book) and the Linux kernel makes use of this in building scheduling
 domains (multi-core scheduling) accordingly and then tries to keep
 processes on a book instead of migrating them back and forth.
 With z196 another cache level was introduced. Linux kernel support for
 this should be merged upstream with the upcoming 2.6.37 kernel.

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


Re: inotify article

2010-09-10 Thread Shane
On Fri, 2010-09-10 at 10:06 -0500, McKown, John wrote:

 I'm not a real Linux heavy programmer (even though I weigh in at 230
 pounds grin). I found this article on inotify to be interesting:

Have a look at inotify-tools - very handy for bash.
The tail utility has (finally) been updated to use inotify rather than
polling.

Shane ...

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


Re: vmur usage ?

2010-09-09 Thread Shane G
Who is this Altmark fella anyway ?.

Shane    g,d,r

On Thu, Sep 9th, 2010 at 10:24 PM, Alan Altmark wrote:

...

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


Re: Suse SLES 11 / reiserfs / readonly problem

2010-08-25 Thread Shane
On Tue, 2010-08-24 at 11:00 -0400, Richard Troth wrote:

 As others have said, ReiserFS wants to replay the journal.  EXT3 does
 too.  (Not sure about EXT4.)  So for RO I recommend EXT2.

Whilst I'm prepared to believe anything of reiserfs (not having
attempted to use it since before it was named thus), I query the
assertion re ext3. Were it to be mounted r/o everywhere, I fail to see
how the filesystem could have meta-data that would need replaying.
But I admit to not having specifically tested that - maybe someday.

Shane ...

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


vale openSolaris

2010-08-16 Thread Shane
Any comments from this august assemblage ?.
I suppose David has more reason than most to feel umbrage.

I kept wanting to get involved (non-z), but didn't see the effort being
rewarded long-term. Even the devs that were at the kernel conference I
was on when the acquisition was (formally) announced were not confident
Oracle would continue the effort.

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


Re: kernel: page allocation failure recommendations

2010-08-05 Thread Shane
A lot more functionality is ascribed to swappiness than it deserves.
I'd be thinking this is more an issue in the buddy allocator. The slub
allocator is much better at handling things in more recent kernels.
Should be the default IMHO.

Shane ...

On Thu, 2010-08-05 at 11:38 -0600, Mark Post wrote:
  On 8/5/2010 at 11:36 AM, Marcy Cortes marcy.d.cor...@wellsfargo.com 
  wrote:
  Decrease to 0 is what I've been advocating under VM. Keeps linux from doing
  preemptive moves to swap. Just let VM see the page is being not used and he
  will page it out.

 Probably not what you want when your Linux system is having memory 
 fragmentation problems.

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


Re: kernel: page allocation failure recommendations

2010-08-04 Thread Shane Ginnane
I quite liked this from one of the kernel devs:
quote
But please bear in mind, this page allocation failure message
is purely a developer diagnostic thing. The reason it is there
is so that if some random toaster driver oopses over a failure
to handle an allocation failure, the person who reports the bug
can say I saw an allocation failure and then your driver crashed.
Which tells the driver developer where to look.
/quote
Although recoverable, I'd be looking at adding storage to the guest. I 
can't see swappiness helping in this context - but I don't see it harming 
either, and I generally agree with the sentiment that it should be lower 
in a z/ environment.
Getting up to date on the kernel would also be a good idea as Mark 
suggested - lots of reports on late 2.5 and early 2.6 kernels.

Shane ...
(interestingly I don't see this post on the maillist archive)

Linux on 390 Port LINUX-390@VM.MARIST.EDU wrote on 05/08/2010 02:56:54 
AM:

 We are running the following Linux: 
 
 Linux linuxp01 2.6.5-7.315-s390x #1 SMP Wed Nov 26 13:03:18 UTC 2008
 s390x s390x s390x GNU/Linux with SLES-9-s390x-SP4 + online updates
 under /VM Version 5 Release 4.0, service level 0902 (64-bit). Linux 
 is defined with 768MB of memory. 
 
 We recently implemented CICS Transaction Gateway version 6.0.1 fix 
 pack and since then are seeing some page fault errors. However, I am
 not really seeing memory shortage issues with the z/VM monitor or 
 the Linux free –m errors. I am thinking about lowering vm.swappiness
 from 60. What does everyone think, is that worth doing? Any other 
 recommendations? 
 
 We are limited on memory resources but if push came to shove, I 
 could increase from 768MB to 1024MB and increase the swap space 
accordingly. 
 
 I know, I know, all this stuff is old, but we are in the process of 
upgrading.


Re: Wed. July 28 (not June) 28 LVC-webcast -Linux on System z: Current Future Technologies

2010-07-31 Thread Shane G
Whilst I'm sure lots of people (in the northern hemisphere) appreciate the
running of this twice in the one day, this still equated to 23:00 and 04:00
for us on the Australian east coast. Much as I'd like to partake ...

The ability to later re-run the session(s) at my leisure is much appreciated.

Shane ...

 Please join us for the Linux webcast on
   Wednesday, July 28th that is offered twice
   this day:  9:00 AM EDT   OR 2:00 PM EDT.

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


Re: OOM Condition on SLES11 running WAS - Tuning problems?

2010-07-27 Thread Shane G
Hmmm - high sys CPU usage, high loadavg, system not talking to anyone.
Smells like it's busy doing its own stuff. If it were me I'd want to know 
trends for things like 
swap-in and swap-out rates, tasks in uninterruptible sleep, context switch 
counts.

SAR is too granular to be any use even if it did have the data. Set up a 
background script to 
run top and vmstat and write to disk every so often. A quick bit of awk should 
show the 
trend. You could do all the probing of /proc yourself, but I find it easier to 
allow things like 
top/ps/vmstat do all the grunt work.

Shane ... 

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


Re: DB2 direct i/o question

2010-07-26 Thread Shane G
Short answer, no.
This was discussed earlier in the year - see:
http://www.mail-archive.com/linux-390@vm.marist.edu/msg55911.html

Shane ...

On Tue, Jul 27th, 2010 at 1:17 AM, Marcy Cortes wrote:

 Is there a way to limit the amount of memory used for page cache?

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


Re: OOM Condition on SLES11 running WAS - Tuning problems?

2010-07-26 Thread Shane G
Some more info please.
... you get a OOM condition ?.
... the/a large consumer gets killed ?
... the system halts (explain) ?.

You *want* a system-wide panic ?. If so, setting /proc/sys/vm/panic_on_oom to 
1 will 
have the desired effect on non zLinux.

Shane ...

On Tue, Jul 27th, 2010 at 1:24 AM, Daniel Tate daniel.t...@gmail.com wrote:

 When websphere starts, it consumes all the memory eventually and
 halts, but not panics, the system.
snip ...
 At this point i see two problems:
 
 1) Why is OOM Kill not functioning properly

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


Re: Reducing Linux virtual machine size

2010-07-23 Thread Shane G
This is somewhat empirical, and depending on the usage of shared libraries
will over-estimate the situation somewhat.
Not a bad thing in the context.

Determining actual accountable memory on linux has been like catching a
greased pig. With recent kernels you can work back from the pagemaps - here's
a citation from ../Documentation in the kernel source tree.

quote
Using pagemap to do something useful:

The general procedure for using pagemap to find out about a process' memory
usage goes like this:

 1. Read /proc/pid/maps to determine which parts of the memory space are
mapped to what.
 2. Select the maps you are interested in -- all of them, or a particular
library, or the stack or the heap, etc.
 3. Open /proc/pid/pagemap and seek to the pages you would like to examine.
 4. Read a u64 for each page from pagemap.
 5. Open /proc/kpagecount and/or /proc/kpageflags.  For each PFN you just
read, seek to that entry in the file, and read the data you want.

For example, to find the unique set size (USS), which is the amount of
memory that a process is using that is not shared with any other process,
you can go through every map in the process, find the PFNs, look those up
in kpagecount, and tally up the number of pages that are only referenced
once.
/quote

I have seen some user-space code to do all this - must move the testing of
this up my to-do list.

Shane ...

On Sat, Jul 24th, 2010 at 4:45 AM, Mrohs, Ray ray.mr...@usdoj.gov wrote:

 Start up all your Linux procs and then run this little script.
  
 #! /bin/sh
 ps -eo pmem | awk '{pmem += $1}; END {print pmem = pmem%}';
 
 It will give you a ballpark percentage of current memory utilization.
 I tuned some Apache/ftp servers down to 100M with no ill effects.

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


Re: Reducing Linux virtual machine size

2010-07-23 Thread Shane G
I would be guessing you have lots of Oracle threads - all of which will have
the same common code mapped. And counted by the summation.
These fields only count resident memory - swap usage will be (sort of)
irrelevant. Pages that are swap cached (as distinct from only swapped out)
reside in real pages, and so can affect the pool of available page frames.
Determining this number is not simple. Recently the memory manager has
started using compressed page cache to ameliorate this effect somewhat.

Refer to my previous (flippant) comment.

Shane ...

On Sat, Jul 24th, 2010 at 8:05 AM, Tom Duerbusch wrote:

 I tried your script on some of my images.  Works fine, except when Oracle
 is involved.
  
 linux62:~ # ps -eo pmem | awk '{pmem += $1};END {print pmem =pmem%}';
 pmem =1347.1%
 I do have a lot of swap blocks allocated.  This is due to a batch type
 run, that is run off hours.  During the day, when users are on, we swap
 very little.
  
 So if this does include swap pages, I don't think the script would give me
 what I need, during normal processing.  Do you agree?  Or am off track
 here?

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


Re: Reducing Linux virtual machine size

2010-07-23 Thread Shane G
Sorry ... that should be compressed _swap_ cache

Shane ...

On Sat, Jul 24th, 2010 at 9:00 AM, I wrote:

 ... Recently the memory manager has
 started using compressed page cache to ameliorate this effect somewhat.

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


Re: DB2 direct i/o question

2010-07-23 Thread Shane G
On Sat, Jul 24th, 2010 at 10:20 AM, Marcy Cortes wrote:

 Does this imply that the best setting for Linux on z is to use the FILE
 SYSTEM CACHING (Direct i/o disabled)?

I won't presume to be able to answer that, but I will observe that Linus has
made some very harsh comments about database developers and their insistence
on using direct I/O.
In a virtualised environment their desire for total control of everything
would appear to be even more pointless.
I have also sat in on talks by said developers - they insist they can't
possibly get any performance without direct I/O.

 Trying to figure out where all this memory is used... 
 ceztv14222:~ # free -m
  total   used   free sharedbuffers cached
 Mem: 15085  14947137  0 26  13835
 -/+ buffers/cache:   1086  13999
 Swap: 3662   3662  0

The memory is (almost) all being used for {disk,page} cache.
If you're concerned about the swap usage, have a look in /proc/pid/smaps.

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


Re: IBM zEnterprise System announced???

2010-07-22 Thread Shane G
Barton yanking Alans chain ...
Where have I seen that before ?.

Shane ...

On Fri, Jul 23rd, 2010 at 5:26 AM, Barton Robinson wrote:

 Alan, are you trying to make this announcement so totally boring on
 purpose? Just business as usual? nothing really new and exciting?  Is
 there anything here you could make exciting and explain why someone
 would care?

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


Re: IBM zEnterprise System announced???

2010-07-22 Thread Shane G
All the bits are now to be OSA connected.

Shane ...

On Fri, Jul 23rd, 2010 at 8:40 AM, Mark Post wrote:

 I didn't see any mention of an IP network, just that it was private. 
 That could mean a lot of things.

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


Re: Files on disk

2010-07-21 Thread Shane G
I might just add that despite it's manpage assertion, rsync isn't too
intelligent about it at all.
My (non z) testing indicated that if you re-use the same target file, after
the initial run cp is significantly more efficient. The initial run for
both is comparable as the target needs to be created.
Didn't test tar as it wasn't relevant (to me) at that juncture.

Shane 


On Thu, Jul 22nd, 2010 at 3:06 AM, Edmund R. MacKenty wrote:

 Rick pointed out that rsync and tar have options that deal with sparse
 files intelligently: when they copy a sparse file, they do not write out 
 blocks
 of all zeros.  Instead, they seek past such empty blocks to avoid writing
 to them, thus creating a sparse output file.  That's how a proper Linux file
 copy is done.  The cp command also does that.

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


Re: IBM System z - A New Dimension in Computing webcast

2010-07-21 Thread Shane G
Seems Jim couldn't keep the lid on things.

The IBM Canada home page is all dressed up with nowhere to go ...   :0)

Shane ...

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


Re: SLES 11 SP 1 Bogus swap disk

2010-07-09 Thread Shane G
Maybe you should be thankful Mark didn't go with the default RoT of
swap=2xRAM

Personally I've never allowed _any_ installer to handle partitioning,
but I can appreciate your concern for the novice installer (person).
They will/should probably be using mod-9s anyway, rather than trying to
squeeze onto a mod3.

Shane ...

On Sat, Jul 10th, 2010 at 7:26 AM, Tom Duerbusch wrote:

 Sooo
  
 Would a 2 GB LPAR, create a disk based swap file of 1 GB off of my
 (in this case) 3390-3 disk?  Not much space left to install Linux..
  
 The novice installer that you are trying to help, then either needs
 to:
  
 1.  Get a bigger disk.
 2.  Get another disk and move some mount points to that disk.
 3.  Trim the number of packages or patterns to reduce the dasd
 requirements.
  
 That would sure give the novice installer some experience!  G

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


Re: Configuring networking in zVM under Hercules???

2010-06-09 Thread Shane G
Maybe - but a hacker wouldn't.
But I'll bet he keeps his trap shut in future.

Shane ...

On Wed, Jun 9th, 2010 at 11:38 PM, Mrohs, Ray wrote:

 What we really just saw is another young person being turned away
 from z/VM, at a time when the next generation needs to be engaged and
 involved through whatever means possible. But now he will probably
 direct his energies elsewhere.

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


Re: Configuring networking in zVM under Hercules???

2010-06-09 Thread Shane G
Just to be clear, I use hacker in this sense:
http://en.wikipedia.org/wiki/Hacker_(programmer_subculture)

Shane ...

On Wed, Jun 9th, 2010 at 11:56 PM, I wrote:

 Maybe - but a hacker wouldn't.

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


Re: Linux on Z networking issue

2010-06-05 Thread Shane G
On Sun, Jun 6th, 2010 at 2:13 AM, Alan Altmark wrote:

... a great candidate for a wiki article. There's even a placeholder just 
waiting for you Alan ... :0)

This really is such a can of worms it needs something authoritative out where 
people can easily find it.

Shane ...

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


  1   2   >