Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Preclear options for very large drives

Featured Replies

Ok, I've read the forums and have had out of memory errors and other problems and determined it's caused by my default use of preclear_disk.sh with default parameters.

 

I'd like to use -r -b and -w but need a recommendation on appropriate settings.

 

I need to preclear 2 or 3 3TB drives at the same time, as well as clear 3 1.5 TB drives later.  I'd like to use appropriate values without slowing it down too much.

 

I have 4 Gig allocated and have a cache drive so I could easily use the swap file if that would help.  I am also running 5rc5 if that matters.

 

What would be a good value for the -r, -w, and -b settings?

 

       -w size  = write block size in bytes

       -r size  = read block size in bytes

       -b count = number of blocks to read at a time

 

Thanks,

Brad

unRaid Plus user for 30 days or less

I typically clear six 2 or 3T drives at the same time using only 2G RAM. What else is using the memory?

  • Author

dgaschk,

 

This was prompted by my problems in this thread http://lime-technology.com/forum/index.php?topic=22394.0 and a forum search that led me here http://lime-technology.com/forum/index.php?topic=21291.msg192198;topicseen#msg192198 where Joe mentions:

 

The two pre-clears alone would use the bulk of memory unless you used the-r -w and -b options to limit their memory usage.

 

That's how I came to ask about the options for preclear. 

 

Thanks,

Brad

dgaschk,

 

This was prompted by my problems in this thread http://lime-technology.com/forum/index.php?topic=22394.0 and a forum search that led me here http://lime-technology.com/forum/index.php?topic=21291.msg192198;topicseen#msg192198 where Joe mentions:

 

The two pre-clears alone would use the bulk of memory unless you used the-r -w and -b options to limit their memory usage.

 

That's how I came to ask about the options for preclear. 

 

Thanks,

Brad

I would definitely choose a multiple of 512 bytes for the -w and -r options.    32768 or 65536 might be good numbers to try.

For -b, try 500 or 1000.    (500 * 32768 = 16Meg of memory read at a time)

  • Author

Excellent information.  :D

 

Thanks

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.