Hugepage
Cat/sys/kernel/mm/transparent_hugepage/enabledreturn results
[Always] madvise neverPermanently closed
Vim/etc/rc.local
Add the following code:
if Test-f/sys/kernel/mm/transparent_hugepage/enabled; then
echo never >/ sys/kernel/mm/transparent_hugepage/enabled
fi
if test-f/sys/kernel/mm/transparent_hugepage/defrag; then
echo never >/sys/kernel/mm/transparent_hugepage/defrag
fiRestarting the
Tags: This warning part ash ble causes solution multicore listen1. Multi-core system resource allocation 2017-10-13t17:57:02.650+0800 I CONTROL [initandlisten] * * Warning:you is running on a NUMA machine.
2017-10-13t17:57:02.650+0800 I CONTROL [initandlisten] * * We suggest launching mongod like this to avoid performance probl EMS:
2017-10-13t17:57:02.650+0800 I CONTROL [initandlisten] * * Numactl--interleave=all Mongod [Other options]
Just like in the hint, the startup script is written as fo
to the following: I CONTROL [initandlisten] * * WARNING:/sys/kernel/mm/transparent_hugepage/enabled is always
* * We suggest setting it to " never " I CONTROL [Initandlisten] I CONTROL [Initandlisten] * * WARNING:/sys/kernel/mm/transparent_hugepage/defrag is always
* * We suggest setting it to " never Echo " never " >/sys/kernel/mm/transparent_hugepage/enabled
echo"never " >/sys/kernel/mm/transparent_hugepage/
/kernel/mm/transparent_hugepage/enabled; Then
echo never >/sys/kernel/mm/transparent_hugepage/enabled
fi
if Test-f/sys/kernel/mm/ Transparent_hugepage/defrag; Then
echo never >/sys/kernel/mm/transparent_hugepage/defrag
fi Whichever method choose, remember to check the change have work after reboot. # cat/sys/kernel/mm/transparent_hugepage/enabled always
madvise [never]
# With Transparent hugepages dis
]
2015-05-08T09: 06: 42.270 + 0800 I CONTROL [initandlisten] ** WARNING:/sys/kernel/mm/transparent_hugepage/defrag is 'alway '.
T09: 06: 42.270 + 0800 I CONTROL [initandlisten] ** We suggest setting it to 'never'
T09: 06: 42.270 + 0800 I CONTROL [initandlisten]
# Use the admin Database
> Use admin;
Switched to db admin
# Define replica set configuration variables and initialize them. The _ id: "replSet" here must be the same as the preceding comman
packagemanager to load package resources.
2 zpack (http://multi-crash.com /? Page_id = 340) this is also an open source packaging format implementation. Compared with the above mpq, it is more streamlined, of course, the function is also weaker. However, some existing functions can fully meet my actual needs.
Main features:
speed
search by file name hash, Read efficiency is supreme
When deleting files in a package, only the file index is deleted, no need to move d
wordpad. It isCodeDevelopers and programmers, but anyone can get and use it. All in all, it is a good alternative to Windows notepad.
Other alternatives:
Other alternative software:
*Notepad2*Programmer's notepad*PS3*Metapad*Docpad*Ted notepad*Akelpad
6. defraggler-faster replacement for Windows Defragmenter
Defraggler-faster windows disk Splitters
DefragmentingYour hard drive has become an essential part of keeping your computer running at an optimal speed, and keeping your hard d
Common DOS command set:Dir column file name deltree Delete directory tree CLS clear screen CD change current directoryCopy copy file diskcopy copy disk del delete file format DiskEdit text edit mem view memory status MD create subdirectory Move file, change Directory NameMore split screen display type display file content RD Delete directory sys create DOS system diskRename change file name xcopy copy directory and file chkdsk check disk attrib set file attributeFdisk hard disk partition date di
Computer management: compmgmt. msc
Device manager: devmgmt. msc
Disk management: diskmgmt. msc
Disk defrag Disk fragment program: dfrg. msc
Event viewer: eventvwr. msc
Shared folders Shared folder: fsmgmt. msc
Group policies Group Policy: gpedit. msc
Local users and groups: lusrmgr. msc
Performance monitor Performance: perfmon. msc
Local security settings: secpol. msc
Services: services. msc
Result set of the Resultant set of policies Policy: rsop. m
This is a very interesting topic, second only to the "virus" topic. I believe that many Windows users have the hard drive sorting experience. In the eyes of many Windows users, "If a hard disk is used for a long time, fragments may occur, and the speed may slow down. A program is required to organize the hard disk, so do not do other work ", it seems to be a matter of natural meaning.
I also watched Norton defrag sort, adjust, and display my hard dis
If guest OS is Windows, use system defrag tools first, and then goto step 5.
If guest OS is Linux, like Ubuntu for example, follow these steps:
1. Download zerofree file from the url below and install it, need gcc libraries and ext2fs library if compile it from source.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Wget http://intgat.tigress.co.uk/rmy/uml/zerofree-1.0.1.tgz or sudo apt-get install ze
; thenEcho never>/sys/kernel/mm/transparent_hugepage/enabledFiIf test-f/sys/kernel/mm/transparent_hugepage/defrag; thenEcho never>/sys/kernel/mm/transparent_hugepage/defragFi
PATCHESNoneHISTORY06/05/2013 the alert is written06/05/2013 the alert is published06/06/2013 removed "cat/sys/kernel/mm/transparent_hugepage/enabled" from the section where we check the transparent hugepages are disabled.06/06/2013 changed "Starting sles11..." to 'starting with S
] --> [control] --> [sessionmanager], in the right window of [memorymanagement], change the value data of [secondleveldatacache] to the same decimal value as the CPU L2 cache: for example, the L2 cache of P4 1.6g A is kb, the numeric value is changed to 512 in decimal format.
9. Run the defrag program when you start the computer.
In [start] --> [run] --> type [Regedit] --> [HKEY_LOCAL_MACHINE] --> [software] --> [Microsoft] --> [dfrg] --> [bootopt
primary key.
Disable "network" attribute display in "Control Panel"
In the window on the right of HKEY_USERS \. Default \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer, create the DWORD Value "nonetsetup" and set it to "1 ".
Do not display the "ID" attribute in "network"
In the window on the right under HKEY_USERS \. Default \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Network, create the DWORD Value "nonetsetupidpage" and set its value to "1 ".
. (The aspi_dos driver must be run first. This file is only useful to users who use SCSI) The batch file that is automatically run when the autoexec. Bat system is started. The old file in the cdsetup.exe dos audio card driver. The file required to start the command. com system. (Do not delete) Config. sys is used to load the configuration file of the device driver. Defrag. EXE is used to clear the fragments in DOS. Deltree. EXE command to delet
: Shake and defrag.
Iv. ext4 File System
The disk fragment tool will be provided. For details, refer to [5].
V. XFS File System
Xfs_fsr: participate in "disk fragmentation in Linux (1 )".
Vi. reiferfs File System
Reiser3 does not have a defragmentation tool, and reiser4 will provide a repacker. Reiser4 is currently under development stagnation. In the future... who knows?
VII. JFS File System
Defgrafs of IBM.
Improving...
Refer:
[1] http://gee
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.