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
On Mar 26, 2012, at 4:18 PM, Bob Friesenhahn wrote:
> On Mon, 26 Mar 2012, Andrew Gabriel wrote:
>
>> I just played and knocked this up (note the stunning lack of comments,
>> missing optarg processing, etc)...
>> Give it a list of files to check...
>
> This is a cool program, but programmers w
On Mon, Mar 26, 2012 at 6:18 PM, Bob Friesenhahn
wrote:
> On Mon, 26 Mar 2012, Andrew Gabriel wrote:
>
>> I just played and knocked this up (note the stunning lack of comments,
>> missing optarg processing, etc)...
>> Give it a list of files to check...
>
>
> This is a cool program, but programmer
On Mon, 26 Mar 2012, Andrew Gabriel wrote:
I just played and knocked this up (note the stunning lack of comments,
missing optarg processing, etc)...
Give it a list of files to check...
This is a cool program, but programmers were asking (and answering)
this same question 20+ years ago before
I just played and knocked this up (note the stunning lack of comments,
missing optarg processing, etc)...
Give it a list of files to check...
#define _FILE_OFFSET_BITS 64
#include
#include
#include
#include
#include
int
main(int argc, char **argv)
{
int i;
for (i = 1; i
? wrote:
> How can I test if a file on ZFS has holes, i.e. is a sparse file,
> using the C api?
See star .
ftp://ftp.berlios.de/pub/star/
or
http://hg.berlios.de/repos/schillix-on/file/e3829115a7a4/usr/src/cmd/star/hole.c
The interface was defined for star in September 2
Mike, I was hoping that some one has a complete example for a bool
has_file_one_or_more_holes(const char *path) function.
Olga
2012/3/26 Mike Gerdts :
> 2012/3/26 ольга крыжановская :
>> How can I test if a file on ZFS has holes, i.e. is a sparse file,
>> using the C api?
>
> See SEEK_HOLE in lse
2012/3/26 ольга крыжановская :
> How can I test if a file on ZFS has holes, i.e. is a sparse file,
> using the C api?
See SEEK_HOLE in lseek(2).
--
Mike Gerdts
http://mgerdts.blogspot.com/
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http:/
How can I test if a file on ZFS has holes, i.e. is a sparse file,
using the C api?
Olga
--
, _ _ ,
{ \/`o;- Olga Kryzhanovska -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com \-`\-'.
`'-..-| / http://twitter.com/fleyt
On Mar 25, 2012, at 8:58 PM, Yuri Vorobyev wrote:
> Hello.
>
> What the best practices for choosing ZFS volume volblocksize setting for
> VMware VMFS-5?
> VMFS-5 block size is 1Mb. Not sure how it corresponds with ZFS.
Zero correlation.
What I see on the wire from VMFS is 16KB random reads fo
> > As a random guess, try pointing PHP tmp directory to
> > /var/tmp (backed by zfs) and see if any behaviors change?
> >
> > Good luck,
> > //Jim
> >
>
> Thanks for your suggestions. Actually the default PHP tmp directory
> was /var/tmp, and I changed "/var/tmp" to "/tmp". This reduced zfs
> roo
In message , Bob
Friesenhahn writes:
>Almost all of the systems listed on the HCL are defunct and no longer
>purchasable except for on the used market. Obtaining an "approved"
>system seems very difficult. In spite of this, Solaris runs very well
>on many non-approved modern systems.
http://w
I see nothing unusual in the lockstat data. I think you're barking up
the wrong tree.
-- richard
On Mar 25, 2012, at 10:51 PM, Aubrey Li wrote:
> On Mon, Mar 26, 2012 at 1:19 PM, Richard Elling
> wrote:
>> Apologies to the ZFSers, this thread really belongs elsewhere.
>>
>> Let me explain belo
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
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 "virtual memory".
> It is like a RAM disk, although
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 is - I'll look at the
data later carefully later when I hav
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 "virtual memory".
It is like a RAM disk, although maybe slower than ramdisk
FS as seen in livecd, as long as there i
2012-03-26 7:58, Yuri Vorobyev wrote:
Hello.
What the best practices for choosing ZFS volume volblocksize setting for
VMware VMFS-5?
VMFS-5 block size is 1Mb. Not sure how it corresponds with ZFS.
Setup details follow:
- 11 pairs of mirrors;
- 600Gb 15k SAS disks;
- SSDs for L2ARC and ZIL
- COM
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
19 matches
Mail list logo