Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-28 Thread Aubrey Li
hat? > what is your test program and how (from what kind  client) > regards > > > > > On 3/26/2012 11:13 PM, Aubrey Li wrote: >> >> On Tue, Mar 27, 2012 at 1:15 AM, Jim Klimov  wrote: >>> >>> Well, as a further attempt down this road, is it possible

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-26 Thread Aubrey Li
On Tue, Mar 27, 2012 at 1:15 AM, Jim Klimov wrote: > Well, as a further attempt down this road, is it possible for you to rule > out > ZFS from swapping - i.e. if RAM amounts permit, disable the swap at all > (swap -d /dev/zvol/dsk/rpool/swap) or relocate it to dedicated slices of > same or better

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-26 Thread Aubrey Li
On Mon, Mar 26, 2012 at 8:24 PM, Jim Mauro wrote: > > You care about #2 and #3 because you are fixated on a ZFS root > lock contention problem, and not open to a broader discussion > about what your real problem actually is. I am not saying there is > not lock contention, and I am not saying there

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-26 Thread Aubrey Li
On Mon, Mar 26, 2012 at 7:28 PM, Jim Klimov wrote: > 2012-03-26 14:27, Aubrey Li wrote: >> >> The php temporary folder is set to /tmp, which is tmpfs. >> > > By the way, how much RAM does the box have available? > "tmpfs" in Solaris is backed by "virtu

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-26 Thread Aubrey Li
On Mon, Mar 26, 2012 at 4:33 PM, wrote: > >>I'm migrating a webserver(apache+php) from RHEL to solaris. During the >>stress testing comparison, I found under the same session number of client >>request, CPU% is ~70% on RHEL while CPU% is full on solaris. > > Which version of Solaris is this? Thi

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Mon, Mar 26, 2012 at 1:19 PM, Richard Elling wrote: > Apologies to the ZFSers, this thread really belongs elsewhere. > > Let me explain below: > > Root documentation path of apache is in zfs, you see > it at No.3 at the above dtrace report. > > > The sort is in reverse order. The large number y

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Mon, Mar 26, 2012 at 11:34 AM, Richard Elling wrote: > On Mar 25, 2012, at 6:51 PM, Aubrey Li wrote: >> On Mon, Mar 26, 2012 at 4:18 AM, Jim Mauro wrote: >>> If you're chasing CPU utilization, specifically %sys (time in the kernel), >>> I would start

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Mon, Mar 26, 2012 at 4:18 AM, Jim Mauro wrote: > If you're chasing CPU utilization, specifically %sys (time in the kernel), > I would start with a time-based kernel profile. > > #dtrace -n 'profile-997hz /arg0/ { @[stack()] = count(); } tick-60sec { > trunc(@, 20); printa(@0; }' > > I would be

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Mon, Mar 26, 2012 at 3:22 AM, Fajar A. Nugraha wrote: >> >> I have ever not seen any issues until I did a comparison with Linux. > > So basically you're comparing linux + ext3/4 performance with solaris > + zfs, on the same hardware? That's not really fair, is it? > If your load is I/O-intensiv

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Mon, Mar 26, 2012 at 2:58 AM, Richard Elling wrote: > On Mar 25, 2012, at 10:25 AM, Aubrey Li wrote: > > On Mon, Mar 26, 2012 at 12:48 AM, Richard Elling > wrote: > > This is the wrong forum for general purpose performance tuning. So I won't > > continue this m

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Mon, Mar 26, 2012 at 2:10 AM, zfs user wrote: > On 3/25/12 10:25 AM, Aubrey Li wrote: >> >> On Mon, Mar 26, 2012 at 12:48 AM, Richard Elling >>  wrote: >>> >>> This is the wrong forum for general purpose performance tuning. So I >>> won&#x

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
hreads becomes large, this root lock contention becomes horrible. This situation does not occurs on linux. Let me see if any others have a clue for me. Any suggestions will be highly appreciated! Regards, -Aubrey > > On Mar 25, 2012, at 6:24 AM, Aubrey Li wrote: > > SET minf mjf xca

Re: [zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-25 Thread Aubrey Li
On Sun, Mar 25, 2012 at 3:55 PM, Richard Elling wrote: > On Mar 24, 2012, at 10:29 PM, Aubrey Li wrote: > > Hi, > > I'm migrating a webserver(apache+php) from RHEL to solaris. During the > stress testing comparison, I found under the same session number of client > req

[zfs-discuss] webserver zfs root lock contention under heavy load

2012-03-24 Thread Aubrey Li
Hi, I'm migrating a webserver(apache+php) from RHEL to solaris. During the stress testing comparison, I found under the same session number of client request, CPU% is ~70% on RHEL while CPU% is full on solaris. After some investigation, zfs root lock emerges as a major doubtful point. Firstly, t

[zfs-discuss] Can't load specfs

2009-04-11 Thread Aubrey Li
I have a USB disk with opensolaris200906 installed. I'm using it to test OS on the different boxes. Recently(B109, B110, B111) I run into a weird problem from time to time. == SunOS Release 5.11 Version snv_111 64-bit Copyright 1983-2009 Sun Microsystems, Inc. Al

[zfs-discuss] zfs send/receive issue

2008-06-07 Thread Aubrey Li
Hi Folks, I'm trying to backup my /export folder to an USB disk by zfs send/receive. But zfs receive try to mount the dataset to a mountpoint which is already mounted on the existing zfs system, and failed. see below: 1) zfs list # zfs list NAME USED AVAIL REFER

Re: [zfs-discuss] system backup and recovery

2008-06-06 Thread Aubrey Li
On Fri, Jun 6, 2008 at 10:41 PM, Brandon High <[EMAIL PROTECTED]> wrote: > On Fri, Jun 6, 2008 at 12:23 AM, Aubrey Li <[EMAIL PROTECTED]> wrote: >> Here, "zfs send tank/root > /mnt/root" doesn't work, "zfs send" can't accept >>

Re: [zfs-discuss] system backup and recovery

2008-06-06 Thread Aubrey Li
Hi Erik, Thanks for your instruction, but let me dig into details. On Thu, Jun 5, 2008 at 10:04 PM, Erik Trimble <[EMAIL PROTECTED]> wrote: > > Thus, you could do this: > > (1) Install system A No problem, :-) > (2) hook USB drive to A, and mount it at /mnt I created a zfs pool, and mount it at

Re: [zfs-discuss] system backup and recovery

2008-06-05 Thread Aubrey Li
On Thu, Jun 5, 2008 at 9:49 PM, Erik Trimble <[EMAIL PROTECTED]> wrote: > Aubrey Li wrote: >> >> On Thu, Jun 5, 2008 at 7:30 PM, Richard L. Hamilton <[EMAIL PROTECTED]> >> wrote: >> >>>> >>>> On Thu, 2008-06-05 at 15:44 +0800, Aubre

Re: [zfs-discuss] system backup and recovery

2008-06-05 Thread Aubrey Li
On Thu, Jun 5, 2008 at 7:30 PM, Richard L. Hamilton <[EMAIL PROTECTED]> wrote: >> >> On Thu, 2008-06-05 at 15:44 +0800, Aubrey Li wrote: >> > for windows we use ghost to backup system and >> recovery. >> > can we do similar thing for solaris by ZFS? >

Re: [zfs-discuss] system backup and recovery

2008-06-05 Thread Aubrey Li
On Thu, Jun 5, 2008 at 7:03 PM, Richard L. Hamilton <[EMAIL PROTECTED]> wrote: >> Hi list, >> >> for windows we use ghost to backup system and >> recovery. >> can we do similar thing for solaris by ZFS? >> >> I want to create a image and install to another >> machine, >> So that the personal config

[zfs-discuss] system backup and recovery

2008-06-05 Thread Aubrey Li
Hi list, for windows we use ghost to backup system and recovery. can we do similar thing for solaris by ZFS? I want to create a image and install to another machine, So that the personal configuration will not be lost. Thanks, -Aubrey ___ zfs-discuss m

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 11:15 PM, Robin Guo <[EMAIL PROTECTED]> wrote: > Hi, Aubrey, > > Do you ever do installgrub to the slice, and boot up from the > disk/slice where ZFS resides on? > > It should be > > # mount -F zfs rpool/ROOT/opensolaris /mnt > # installgrub /mnt/boot/grub/stage1 /mnt

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 11:17 PM, Robin Guo <[EMAIL PROTECTED]> wrote: > Yes, you may need to check if following steps are also done. > > mount -F zfs rpool/ROOT/opensolaris /mnt mount failed: Device busy > bootadm update-archive -R /mnt > zpool set bootfs=rpool/ROOT/opensolaris rpool depends

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 9:34 PM, Darren J Moffat <[EMAIL PROTECTED]> wrote: > Aubrey Li wrote: >> >> Robin Guo wrote: >>> >>> Hi, Aubrey >>> >>> Could you point the entry you added into menu.lst? I think it might be >>> th

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
Robin Guo wrote: > Hi, Aubrey > > Could you point the entry you added into menu.lst? I think it might be > the > issue that syntax not correct. > Here is my menu.lst: [EMAIL PROTECTED]:~/work/cpupm-gate$ cat /rpool/boot/grub/menu.lst splashimage /boot/grub/splash.xpm.gz timeout 30 default 0 #-

Re: [zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
On Thu, May 15, 2008 at 3:38 PM, Aubrey Li <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm new to zfs. > Recently I compiled ON successfully on OpenSolaris 200805 release. > So I want to upgrade kernel by my own image. > Following the cap-eye-install, I got a tar ball

[zfs-discuss] how to upgrade kernel by my own on root-zfs platform

2008-05-15 Thread Aubrey Li
Hi all, I'm new to zfs. Recently I compiled ON successfully on OpenSolaris 200805 release. So I want to upgrade kernel by my own image. Following the cap-eye-install, I got a tar ball and extract it under "/". I also added a entry in /rpool/boot/grub/menu.lst to boot my own kernel. After I selecte