`
nathan.wu
  • 浏览: 48702 次
  • 性别: Icon_minigender_1
  • 来自: 南京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

Tuning PHP’s Realpath Cache

阅读更多
Today I learned about the (relatively new) realpath_cache_size and realpath_cache_ttl php.ini directives, which were added in PHP 5.1.0.

PHP 5.1.x and up caches the real path of include files, thus avoiding the extra system call when include_once and require_once are used (or at least, this is what I understood – hope I didn’t confuse anything).

Apparently, the cache size is configurable, and if you’re system has lots of RAM, you can increase realpath_cache_size – the default is 16Kbyte, which means you’ll have 16Kbyte of cache per Apache process. Almost every decent production system can handle an additional 16KBytes per process, and as I understand, this could have a positive effect on performance in applications that have lots of include files.
分享到:
评论

相关推荐

    New_audio_tuning_tool_use_guide v2.1.pdf

    MTK平台 音频调试工具使用指南 New_audio_tuning_tool_use_guide v2.1.pdf

    SQL Tuning Advisor使用总结

    ### SQL Tuning Advisor 使用总结 #### 一、SQL Tuning Advisor 概述 SQL Tuning Advisor(STA)是Oracle数据库中的一个强大工具,用于优化SQL语句的性能。通过自动化的诊断过程,STA能够帮助数据库管理员(DBA)...

    Oracle SQL Tuning with Oracle SQLTXPLAIN: Oracle Database 12c Edition

    Learn through this practical guide to SQL tuning how Oracle's own experts do it, using a freely downloadable tool called SQLTXPLAIN. This new edition has been expanded to include AWR, Oracle 12c ...

    camera tuning基础知识

    ### Camera Tuning 基础知识详解 #### 一、前言 随着智能手机技术的不断发展,摄像头已成为衡量手机性能的重要指标之一。为了提供更优质的拍摄体验,摄像头传感器(Camera Sensor)的效果调整至关重要。这一过程...

    Oracle Database 12c Performance Tuning Recipes

    Oracle Database 12c Performance Tuning Recipes is a ready reference for database administrators in need of immediate help with performance issues relating to Oracle Database. The book takes an example...

    SQL tuning and the Dynamic Statement Cache.ppt

    SQL优化与动态语句缓存 SQL调优是数据库性能优化的关键部分,尤其是在DB2这样的大型数据库管理系统中。本话题将深入探讨SQL调优的基本原则、动态SQL的详细情况以及DB2的语句缓存机制。 首先,让我们来了解一些SQL...

    Audio_Tuning_Tool_exe_v2.2016.rar

    《MTK平台音频调校工具Audio_Tuning_Tool_exe_v2.2016详解》 在移动设备领域,音质的优化与调校是提升用户体验的关键环节之一。针对MTK(MediaTek)平台,开发者们推出了Audio_Tuning_Tool_exe_v2.2016这一专业工具...

    Prentice.Hall.Performance.Tuning.for.Linux.Servers

    In Performance Tuning for Linux Servers, a team of IBM's most-experienced Linux performance specialists shows you how to find bottlenecks, measure performance, and identify effective optimizations....

    Db10g SQL Tuning Vol-I

    根据提供的文件信息,我们可以推断出这是一份关于Oracle Database 10g SQL Tuning的培训资料。下面将从以下几个方面来深入解析这份文档中所包含的重要知识点。 ### 一、Oracle Database 10g SQL Tuning 的概念 ...

    SQL Tuning使用指南

    ### SQL Tuning 使用指南知识点详解 #### 一、SQL Tuning 概述 **SQL Tuning** 是一种专为 **Oracle 数据库** 设计的强大工具,用于分析、测试和优化 SQL 语句,旨在提高应用系统的整体性能。该工具覆盖了数据库...

    oracle sql_tuning

    SQL_Tuning是Oracle官方提供的一个专题,旨在帮助管理员和开发人员优化SQL查询,从而提高数据库的效率和响应时间。以下是一些关于"Oracle SQL Tuning"的重要知识点: 1. **SQL执行计划**:SQL执行计划是Oracle解析...

    PDF Linux Performance and Tuning Guidelines 4285

    Linux Performance and Tuning Guidelines 4285 PDF Linux® is an open source operating system developed by people from all over the world. The source code is freely available and can be used under the ...

    oracle performance tuning

    7. **Dictionary Cache 优化**:确保Dictionary Cache的Misses数量保持稳定,避免频繁的Misses。 #### 三、总结 共享池的优化是Oracle性能调优的核心环节之一。通过细致地调整Library Cache的相关参数,并妥善管理...

    Audio-Tuning-Tool-exe-v2.2052.rar

    《MTK音频调试工具——Audio-Tuning-Tool-exe-v2.2052详解》 MTK(MediaTek)音频调试工具是一款专为MediaTek芯片平台设计的专业软件,用于帮助开发者、工程师以及爱好者对手机或其他设备的音频系统进行调试和优化...

    Tuning Red Hat Enterprise Linux

    Tuning Red Hat Enterprise Linux linux服务器调优

    SQL Tuning sqlServer 数据库

    以上内容只是《SQL Tuning in sqlServer 数据库》教程的部分要点,通过深入学习,你可以掌握一系列SQL Server性能优化的技巧和最佳实践,从而更好地管理和优化你的数据库系统。CHM格式的文档通常包含丰富的超链接和...

    iOS and macOS Performance Tuning

    iOS and Macos Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift (Developer's Library) by Marcel Weiher English | 3 Mar. 2017 | ISBN: 0321842847 | 400 Pages | EPUB/PDF (conv) | 42.64 MB ...

    Clear type Tuning中文控制面板

    "Clear Type Tuning 中文控制面板"是一款专为优化Windows操作系统中文显示效果设计的工具。它主要用于提升显示器上文本的清晰度,使字体在屏幕上看起来更加锐利、易读,尤其是在高分辨率或大尺寸显示器上效果更为...

    Java.EE.7.Performance.Tuning.and.Optimization.178217642X

    Title: Java EE 7 ... Tuning an Application's Environment Chapter 10. Designing High-performance Enterprise Applications Chapter 11. Performance Tuning Tips Chapter 12. Tuning a Sample Application

    SQL Tuning.chm

    SQL Tuning author Dan Tow outlines a timesaving method he's developed for finding the optimum execution plan--rapidly and systematically--regardless of the complexity of the SQL or the database ...

Global site tag (gtag.js) - Google Analytics