JIT: Optimize generated functions earlier to lower memory usage

Поиск
Список
Период
Сортировка
От Soumyadeep Chakraborty
Тема JIT: Optimize generated functions earlier to lower memory usage
Дата
Msg-id CAE-ML+_OE4-sHvn0AA_qakc5qkZvQvainxwb1ztuuT67SPMegw@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hello,

This is to introduce a patch to lower the memory footprint of JITed
code by optimizing functions at the function level (i.e. with
function-level optimization passes) as soon as they are generated.
This addresses the code comment inside llvm_optimize_module():

/*
 * Do function level optimization. This could be moved to the point where
 * functions are emitted, to reduce memory usage a bit.
 */
 LLVMInitializeFunctionPassManager(llvm_fpm);

 --
 Soumyadeep (Deep)
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Two pg_rewind patches (auto generate recovery conf and ensureclean shutdown)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: How to retain lesser paths at add_path()?