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

Резултати

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

Пребарај: #cartoons

当前筛选 #cartoons清除筛选
​NO Kings ​🚫👑

@No_king_No_King · Post #178 · 12.04.2026 г., 16:47

Lies... (Not friend pedophile) - Email from Melania to Ghislaine Maxwell: "Dear G, How are you? Nice story about JE in New York Mag. You look great on the picture. I know you are very busy flying all over the world. How was Palm Beach? I cannot wait to go down. Give me a call when you are back in NY. Have a great time! Love, Melania" - Melania Trump: "The lies linking me with the disgraceful Jeffrey Epstein need to end today...I've never been friends with Epstein...I never had a relationship with Epstein or his accomplice Maxwell. My email reply to Maxwell can not be categorized as anything more than casual correspondence." - "Epstein did not introduce me to Donald Trump. I met my husband by chance." - "Donald and I were invited to the same parties as Epstein from time to time." - "I call on Congress to provide the women who have been victimized by Epstein with a public hearing specifically centered around the survivors. We must work openly and transparently to uncover the truth about Epstein." Trump: "She had a right to talk about it because the fake news covers her so inaccurately. Would I have done it that way?" the president mused. "Perhaps not, perhaps, I don't know." @michael_de_adder@rickmckeetoons davegranlundcartoons @mjhiblenart@lowtekguy@tooner13@jackohman60@misterjesseduquette@cdurando49@repeat1968#JeffDanziger@billdaycartoons@billbramhallcartoons@[email protected] #Cartoons#CoffeeAndCourtney#ComicRelief#CartoonCurator ✈️t.me/No_king_No_King

12
ПретходнаСтраница 1 од 2Следна