Нет, особой супер-производительностью похвастаться не могу, т.к. сервер оченно древний и слабенький (2xXeon 1,8 GHz/2x512 MB DDRI-266 ECC Reg/Mylex extremeRAID 2000, база лежит на зеркале 2х15К 18ГБ винтах - но пока и этого хватает


Модераторы: Trinity admin`s, Free-lance moderator`s
А у нас 1,4Гб :( .a_shats писал(а):Ну, база конечно маленькая - 112 МБ, но главное - выполнение отчетов на этом сервере не напрягает ни-ко-го
Код: Выделить всё
# ----------------------------
# Number of cached database pages
#
# This sets the number of pages from any one database that can be held
# in cache at once. If you increase this value, the engine will
# allocate more pages to the cache for every database. By default, the
# SuperServer allocates 2048 pages for each database and the classic
# allocates 75 pages per client connection per database.
#
# Type: integer
#
#DefaultDbCachePages = 2048
# ----------------------------
# In-memory sorting module
#
# The amount of memory allocated for each sort block.
#
# Type: integer
#
#SortMemBlockSize = 1048576
#
# The maximum amount of memory to be allocated by the in-memory
# sorting module.
#
# For Classic servers, this setting is defaulted to 8 MB.
# Although it can be increased, the value applies to each client
# connection/server instance and thus consumes a lot of memory.
#
# Type: integer
#
#SortMemUpperLimit = 67108864
Код: Выделить всё
# ----------------------------
#
# How often the pages are flushed on disk
# (for databases with ForcedWrites=Off only)
#
# Number of unflushed writes which will accumulate before they are
# flushed, at the next transaction commit. For non-Win32 ports,
# the default value is -1 (Disabled)
#
# Type: integer
#
#MaxUnflushedWrites = 100
#
# Number of seconds during which unflushed writes will accumulate
# before they are flushed, at the next transaction commit. For non-Win32
# ports, the default value is -1 (Disabled)
#
# Type: integer
#
#MaxUnflushedWriteTime = 5
Код: Выделить всё
# ----------------------------
# Locking and shared memory parameters
#
# Bytes of shared memory allocated for lock manager.
# In Classic mode, the size given is used for the initial allocation. The
# table expands dynamically up to the limit of memory. In SuperServer, the
# initial size is also the final size.
# Default is 96K on Linux and Solaris, 256K on Windows.
#
# Type: integer
#
#LockMemSize = 262144
#
# Number of semaphores for interprocess communication.
# In non-threading environments, this sets the number of semaphores
# available
#
# Type: integer
#
#LockSemCount = 32
#
# When a connection wants to lock an object, it gets a lock request
# block which specifies the object and the lock level requested. Eack
# locked object has a lock block. Request blocks are connected to those
# lock blocks either as requests that have been granted, or as pending
# requests.
#
# The settings:
# 1 means locks are granted first come, first served.
# 0 means emulate InterBase v3.3 behavior, where locks are granted
# as soon as they are available; can result in lock request
# starvation.
#
# Type: integer/boolean
#
#LockGrantOrder = 1
#
# In Classic, only one client process may access the lock table at any
# time. Access to the lock table is governed by a mutex. The mutex can
# be requested conditionally - a wait is a failure and the request must
# be retried - or unconditionally - the request will wait until it is
# satisfied. This parameter establishes the number of attempts that
# will be made conditionally. Zero value means unconditional mode.
# Relevant only on SMP machines.
#
# Type: integer
#
#LockAcquireSpins = 0
#
# Tune lock hash list; more hash slots mean shorter hash chains. Only
# necessary under very high load. Prime number values are recommended.
#
# Type: integer
#
#LockHashSlots = 101
Есть даже специальная утилита, с помощью которой удобно редактировать этот файл: FbConfigManager.setar писал(а): Итак имеем всё по умолчанию
какие соображения по оптимизации ?
У меня тоже FB под Win32, но параметры называются как у setara. Версия 1.5. Как так? Есть параметр ProcessPriorityLevel, видимо, это аналог SERVER_PRIORITY_CLASS, по умолчанию 0, как я понимаю, если на этом сервере больше ничего не крутится, то можно 1 поставить?a_shats писал(а):Я не скрываю, но у мя FB под Win32
в файле конфига
DATABASE_CACHE_PAGES 512
SERVER_PRIORITY_CLASS 1
SERVER_CLIENT_MAPPING 16384
Остальное закомментировано.
Причем последнее исключительно ради шустрой работы IBExpert на этом же сервере
"...high number of Memory: Pages/sec, a "normal" (average, relative to the system being monitored) or high number of Memory: Available Bytes, and a normal or small amount of Paging File: % Usage" - да, это как раз моя ситуация. Я за этот счетчик зацепился из-за того, что он явно выделялся на общем фоне. Кое-что удалось ускорить. Вроде все настройки, которые могут оказать существенное влияние на работу с памятью, перебрал. Думаю, что больше ничего не получится улучшить настройками, дальше дело в апгрейде железа.and3008 писал(а):Говорю еще раз, не смотрите на один счетчик.
http://support.microsoft.com/kb/139609/en-us
А не могли бы привести здесь список значений параметров, наиболее оптимально подходящих под Ваши задачи ?LVN писал(а):"...high number of Memory: Pages/sec, a "normal" (average, relative to the system being monitored) or high number of Memory: Available Bytes, and a normal or small amount of Paging File: % Usage" - да, это как раз моя ситуация. Я за этот счетчик зацепился из-за того, что он явно выделялся на общем фоне. Кое-что удалось ускорить. Вроде все настройки, которые могут оказать существенное влияние на работу с памятью, перебрал. Думаю, что больше ничего не получится улучшить настройками, дальше дело в апгрейде железа.
Всем спасибо за советы!
Сейчас этот форум просматривают: нет зарегистрированных пользователей и 3 гостя