TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #335 · 29 мар.

В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount mount -t tmpfs -o size=5G tmpfs /mnt/ram Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно? ▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD. ▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем. ▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов. Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM. Вот мои результаты: Single File Size: 30.0Gb ssd > ssd: 0:00:12.850 / 2.3Gb/s sdd > ram: 0:00:06.453 / 4.6Gb/s ram > ram: 0:00:06.995 / 4.3Gb/s ram > sdd: 0:00:06.217 / 4.8Gb/s Dir size: 32.7Gb, File count: 11127 ssd > ssd: 0:00:15.063 / 2.2Gb/s sdd > ram: 0:00:08.486 / 3.9Gb/s ram > ram: 0:00:08.032 / 4.1Gb/s ram > sdd: 0:00:07.026 / 4.7Gb/s Скрипт для теста ↗️ На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD. В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения #linux#triks

Hashtags

Резултати

Пронајдени 4 слични објави

Пребарај: #illuminati

当前筛选 #illuminati清除筛选

Who is a real #Muslim? People who are independent. They are not affiliated with the United States. Their leaders are not chosen by the #Illuminati. If a Muslim is attacked in another country, they will help them. Economic embargo and war cannot weaken their faith. They live in Yemen and will carry out a great responsibility in the events of the apocalypse. https://t.me/YediotNewsChat

In the Palestinian war with the Jewish terrorists, the people of the world changed their attitude. The people of the world used to receive news from official media and government-affiliated organizations. News agencies such as Associated Press, France Press, United Press, Reuters and many major news agencies in the world are in the hands of #Zionists. But in the Palestine war, the people of the world turned to individual media such as Telegram, Twitter and Tik Tok to discover the truth. The social networks that were built for the #Illuminati to dominate have become the nightmare of the #Freemasons. https://t.me/YediotNewsChat

The #Jewish media empire portrays Iranophobia in the world. This tourist was told that Iran is a dangerous country, but upon entering Iran, he was surprised by the Zionists' false propaganda against Iran. Imperialists and #Freemasons do not want the people of the world to know Iranian civilization. Because Iranian culture wants to destroy the #Illuminati. https://t.me/YediotNewsChat

Some news sources say that the price of internet has increased in some Muslim countries. Social networks and individual media have become an important tool to deal with the #Zionists. Because the state media is under the control of the #Jews. Official and government news agencies publish selected news in favor of the Zionists. But social networks publish real news. Individual media are putting pressure on Israel. They have increased the price of the Internet to reduce the activity of individual media. Every word and picture published against the Zionists will hit the body of #Illuminati and #Freemasonry like a bullet. https://t.me/YediotNewsChat