gryu
Цитата:
Именно потому вариант с вебэкстеншеном неплох.
Он грузится один раз, потом в вебке выбираете сколько памяти отдать ZFS, перегружаетесь и все. Чтобы поменять опции надо заного его запустить.
И пресеты по объемам довольно адекватные.
[more=значения переменных]
$a_zfsv13_preset = array(
"X32_512MB" => array("kmem" => "340M", "arcmin" => "60M", "arcmax" => "60M"),
"X32_1024MB" => array("kmem" => "512M", "arcmin" => "128M", "arcmax" => "128M"),
"X32_1536MB" => array("kmem" => "1024M", "arcmin" => "256M", "arcmax" => "256M"),
"X32_2048MB" => array("kmem" => "1400M", "arcmin" => "400M", "arcmax" => "400M"),
"X64_2GB" => array("kmem" => "1536M", "arcmin" => "512M", "arcmax" => "512M"),
"X64_3GB" => array("kmem" => "2048M", "arcmin" => "1024M", "arcmax" => "1024M"),
"X64_4GB" => array("kmem" => "2560M", "arcmin" => "1536M", "arcmax" => "1536M"),
"X64_6GB" => array("kmem" => "4608M", "arcmin" => "3072M", "arcmax" => "3072M"),
"X64_8GB" => array("kmem" => "6656M", "arcmin" => "5120M", "arcmax" => "5120M"),
"X64_12GB" => array("kmem" => "10752M", "arcmin" => "9216M", "arcmax" => "9216M"),
"X64_16GB" => array("kmem" => "14336M", "arcmin" => "12288M", "arcmax" => "12288M"),
"X64_24GB" => array("kmem" => "22528M", "arcmin" => "20480M", "arcmax" => "20480M"),
"X64_32GB" => array("kmem" => "30720M", "arcmin" => "28672M", "arcmax" => "28672M"),
"X64_48GB" => array("kmem" => "47104M", "arcmin" => "45056M", "arcmax" => "45056M"),
"X64_64GB" => array("kmem" => "62464M", "arcmin" => "59392M", "arcmax" => "59392M"),
"X64_96GB" => array("kmem" => "95232M", "arcmin" => "92160M", "arcmax" => "92160M"),
"X64_128GB" => array("kmem" => "128000M", "arcmin" => "124928M", "arcmax" => "124928M"),
"X64_192GB" => array("kmem" => "193536M", "arcmin" => "190464M", "arcmax" => "190464M"),
"X64_256GB" => array("kmem" => "259072M", "arcmin" => "256000M", "arcmax" => "256000M"),
);
[/more]
Цитата:
Короче можно брать как пояснения что нать, но значения нужно под себя искать.
Именно потому вариант с вебэкстеншеном неплох.
Он грузится один раз, потом в вебке выбираете сколько памяти отдать ZFS, перегружаетесь и все. Чтобы поменять опции надо заного его запустить.
И пресеты по объемам довольно адекватные.
[more=значения переменных]
$a_zfsv13_preset = array(
"X32_512MB" => array("kmem" => "340M", "arcmin" => "60M", "arcmax" => "60M"),
"X32_1024MB" => array("kmem" => "512M", "arcmin" => "128M", "arcmax" => "128M"),
"X32_1536MB" => array("kmem" => "1024M", "arcmin" => "256M", "arcmax" => "256M"),
"X32_2048MB" => array("kmem" => "1400M", "arcmin" => "400M", "arcmax" => "400M"),
"X64_2GB" => array("kmem" => "1536M", "arcmin" => "512M", "arcmax" => "512M"),
"X64_3GB" => array("kmem" => "2048M", "arcmin" => "1024M", "arcmax" => "1024M"),
"X64_4GB" => array("kmem" => "2560M", "arcmin" => "1536M", "arcmax" => "1536M"),
"X64_6GB" => array("kmem" => "4608M", "arcmin" => "3072M", "arcmax" => "3072M"),
"X64_8GB" => array("kmem" => "6656M", "arcmin" => "5120M", "arcmax" => "5120M"),
"X64_12GB" => array("kmem" => "10752M", "arcmin" => "9216M", "arcmax" => "9216M"),
"X64_16GB" => array("kmem" => "14336M", "arcmin" => "12288M", "arcmax" => "12288M"),
"X64_24GB" => array("kmem" => "22528M", "arcmin" => "20480M", "arcmax" => "20480M"),
"X64_32GB" => array("kmem" => "30720M", "arcmin" => "28672M", "arcmax" => "28672M"),
"X64_48GB" => array("kmem" => "47104M", "arcmin" => "45056M", "arcmax" => "45056M"),
"X64_64GB" => array("kmem" => "62464M", "arcmin" => "59392M", "arcmax" => "59392M"),
"X64_96GB" => array("kmem" => "95232M", "arcmin" => "92160M", "arcmax" => "92160M"),
"X64_128GB" => array("kmem" => "128000M", "arcmin" => "124928M", "arcmax" => "124928M"),
"X64_192GB" => array("kmem" => "193536M", "arcmin" => "190464M", "arcmax" => "190464M"),
"X64_256GB" => array("kmem" => "259072M", "arcmin" => "256000M", "arcmax" => "256000M"),
);
[/more]