Xsanity Sanity for Apple's Xsan and Final Cut Server.
  
Saturday, May 18 2013 @ 09:11 PM EDT
Topics
Storage (39)
People (1)
Xsan (103)
How To (26)
User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User
Who's Online
Guest Users: 9
Sponsorship

Xsanity is proudly sponsored by:

Tekserve
The Old Reliable Mac Shop

Shared memory

 
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Replication, Backups, and Archiving
View previous topic :: View next topic  
Author Message
JonThompson
Xsan Master
Xsan Master


Joined: 06 Apr 2007
Posts: 123

PostPosted: Fri Feb 13, 2009 8:25 am    Post subject: Shared memory Reply with quote

So I've read up on shared memory and how it plays into bakbone. In fact, they have an article detailing how to change it in Leopard, although it appears to be unlinkable. The guys at 318 also posted an article explaining what each variable is and what to change it to for different settings:

http://www.318.com/techjournal/?p=162

My question is this: What ratio should I bump up to? My NetVault/everything else server has 4GB of RAM in it. Am I safe with 512?

I've looked at my memory usage in Activity Monitor, and it appears that my physical memory is full, although my suspicion is that OSXS will always take all available memory and use it.

I've never had issues with memory on the machine, but think that the increasing the shared setting will decrease my backup time.

Oh, and I realize that upgrading my server memory is dirt cheap. (8GB for $260) However, I doubt I will get even that pushed through.
Back to top
View user's profile Send private message Visit poster's website
matx
Xsan Master
Xsan Master


Joined: 15 Apr 2005
Posts: 378

PostPosted: Sat Feb 14, 2009 2:46 am    Post subject: Shared Memory Reply with quote

When I built a new backup server for Netvault on a 8-core intel Xserve with 4GB of RAM I boosted up the shared memory as prescribed in the Bakbone technote for Leopard, but I am not sure it helped all that much. Increasing the memory/cache settings of the drives themselves (dual LTO-4) in the tape library helped enormously, and using a VTL (virtual tape library) as a staging ground helped the most. Backing up large files (QT, R3D, etc) could feed my LTO-4 tape drive at about 150MB/sec for short bursts, but backing up smaller files was 10X slower. Using the VTL for all backups allows the tape to run at max backup speed. But back to memory settings, is there an advantage to tweaking those shared memory settings above the recommended 512MB stated in the technote? I'm not sure, test some backups before you make the change and after.
Back to top
View user's profile Send private message
abstractrude
Xsan Master
Xsan Master


Joined: 13 Mar 2008
Posts: 860

PostPosted: Tue Feb 17, 2009 3:20 am    Post subject: Reply with quote

matx, what are you settings for your FC drives? drive cache?
Back to top
View user's profile Send private message
matx
Xsan Master
Xsan Master


Joined: 15 Apr 2005
Posts: 378

PostPosted: Tue Feb 17, 2009 11:20 pm    Post subject: Reply with quote

abstractrude wrote:
matx, what are you settings for your FC drives? drive cache?


In NetVault I set this for each drive.

For the "amount of memory to assign for transfer buffers":

I set "256000 kb" for the LTO4 drives in my Scalar50, and I set "128000 kb" For the LTO3 drives in my Scalar24.
Back to top
View user's profile Send private message
318Tim
JBOD
JBOD


Joined: 21 Feb 2006
Posts: 2

PostPosted: Tue Mar 03, 2009 6:59 pm    Post subject: NetVault Drive Performance options Reply with quote

Bakbone recommends the following drive transfer buffer settings:
Shared memory is allocated in 32Kb blocks. The default of 257, which is the minimum shared memory size, is equal to 8 buffers of 32 Kb plus one Kb.. Therefore, the formula used to determine a valid setting for this field is as follows:
(<Total number of buffers> x 32Kb) + 1 byte

Examples of the optimal values, in KB, that can be specified for some of the drives are given here:

Fast Modern Tape Drives (e.g., LTO (1, 2 or 3), SDLT or SAIT)
65537 (64 MB + 1 KB)

Medium Tape Drives (e.g., DLT8000, DLT7000 and AIT-3)
32769 (32 MB + 1 KB)

Older Professional Tape Drives (e.g., DLT2000, DLT4000, AIT-2, etc.)
16385 (16 MB + 1 KB)

Older Low Capacity Low-end Drives (e.g., EXB-8505, AIT-1, DAT, etc.)
8193 (8 MB + 1 KB)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Replication, Backups, and Archiving All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Best Viewed on a Mac | Suggested Browser: Whatever floats yer boat.