В 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
🇺🇦 Ukrainian neo-Nazis.
Raising your kids Ukrainian style..
When I grow up, I want to become a sniper to murder the Jews, I mean the Russians.
Subscribe to my channels: @heilukraine1959
@heilukraine1959arab
@heilukraine1959serb
#nazis#ukraine
Users in the comments note that the slogan is very similar to one of the slogans of Nazi Germany - "Ein Volk, ein Reich, ein Führer" - "One people, one Reich, one Fuhrer"
#Nazis#Media
👂More on Trump's Ear
Wednesday on CNN’s “News Central,” Minneapolis City Councilman Jamal Osman (D) said that ICE agents asking people for documentation feels like we are in the 1930s and 1940s in Germany.
Host Brianna Keilar said, “We have Minneapolis City Council Member Jamal Osman joining us now. He’s a Somali refugee whose family moved to the U.S. 26 years ago. Councilman, I saw you there shaking your head. What’s your reaction to what the president said?”
Osman said, “My reaction is that it’s really shocking. Someone who is the leader of the country, United States, speaking to another human being as garbage. No human being is garbage. And, that kind of language is dangerous. It’s not just the politics. It’s dangerous. It puts people’s lives in danger.”
He continued, “The Somali community have shown a growth in this state. They have contributed a lot to to the state of Minnesota and the city of Minneapolis. Yes, folks have done, you know, horrible things and people have committed crimes but we should not be painting the entire community with one brush.”
He added, There’s a justice. There’s a process, a due process, and I believe those folks have been dealt with by the state leaders. But now President Donald Trump singling out and attacking one group of people and being on our streets and asking people documentation, it feels like we are in 1930s, 1940s in Germany. I never thought there would be a time where I will tell my community to carry their passport around, because you look like Somali, you might be stopped by ICE.”
#ICE#Nazis
👂More on Trump's Ear
The U.S. Coast Guard launched an internal investigation after a swastika was found on a bathroom wall at a primary recruit training center in New Jersey.
The swastika— widely recognized as a symbol of the German Nazi Party and linked to the killing of millions of Jews — was found in the bathroom of the training center in Cape May, and the branch referred the matter to the Coast Guard Investigative Service for a probe, a Coast Guard spokesperson told The Hill on Monday.
The symbol was removed.
It was found by a Coast Guard instructor, according to The Washington Post, which first reported on the investigation.
#Nazis#Military
👂More on Trump's Ear ⚠️
Trump's candidate for the federal anti-corruption agency, Paul Ingrassia, turned out to be a fan of the Nazis. Politico published Paul Ingrassia's correspondence with Republican colleagues.
#GOP#Nazis
👂More on Trump's Ear ⚠️
In a statement on Monday, Ye apologized for a history of “impulsive” behavior, including using antisemitic imagery and describing himself as a Nazi.
The musician and fashion mogul formerly known as Kanye West took out a full-page advertisement in the Wall Street Journal addressed to “To Those I’ve Hurt.” He attributed his conduct to his bipolar diagnosis and an undiagnosed brain injury. In the statement, he said that “I am not a Nazi or antisemite. I love Jewish people.”
Ye explained that there was damage to the right frontal lobe of his brain after a car accident in 2002. Until 2023, he wrote in the letter, the injury had gone undiagnosed. That accident inspired his first single, “Through the Wire,” which he recorded with his jaw wired shut.
#Music#Nazis
👂More on Trump's Ear ⚠️
U.S. Capitol Police were called about an American flag altered to include a swastika and displayed inside the office of Rep. Dave Taylor (R-Ohio), his spokesperson said.
POLITICO obtained an image taken during a virtual meeting that shows the flag pinned to what appears to be a cubicle wall behind Angelo Elia, one of Taylor’s staffers.
Alongside the flag — with altered red and white lines in the shape of a swastika — are pinned images, including a pocket Constitution and a congressional calendar. It is unclear what role, if any, Elia had in the incident. He did not immediately respond to a request for comment.
#GOP#Nazis#Congress
👂More on Trump's Ear ⚠️
🎙 Briefing by Russia's Foreign Ministry Spokeswoman Maria Zakharova(Moscow, April 3, 2025)
🔹 Russia's Foreign Minister Sergey Lavrov's schedule
🔹AFU strikes on Russia’s energy infrastructure
🔹Kiev regime crimes
🔹 Third anniversary of the Bucha hoax
🔹 Busification in Ukraine
🔹 New facts about Nazi criminals in Canada
🔹 Silence of the West regarding the attacks on the "Nord Streams"
🔹Russia’s humanitarian aid to Myanmar
📰Read
📺Watch
***
The Kiev regime, having completely lost its sense of self-preservation and connection to reality, in its desperate attempt to disrupt the ongoing Russian-American dialogue at any cost, continues to employ blatantly terrorist methods, striking Russian energy infrastructure on a daily basis.
At the same time, it is clear that these attacks hold no military value. The actions of the Kiev regime not only constitute war crimes but also represent a deliberate effort to sabotage any peace initiatives.
The assurances given by Zelensky that they would honour the moratorium were broken on the very same day.
#Ukraine#Busification
Even Ukraine’s ombudsman could not turn a blind eye to rampaging corruption and arbitrary conduct by draft centres. In his report, he admitted the mass and systemic nature of human rights violations and abuse of power.
He mentions evidence of using force, weapons and special devices against draftees, as well as forceful signing of documents, prevention of access to legal aid for these victims of so-called “busification”, a new term that refers to newly caught males aka future conscripts being put with use of force into buses against their will.
Attorneys have been replaced by plain mobsters who charge thousands of dollars for the service of “rescuing” draftees.
#Canada#Nazis
A group of American historians led by Jared McBride, a history professor at the University of California, has recent gained access to typed and handwritten files with the names of Nazis and their accomplices who were given asylum in Canada, which are available online. The list was stored at the Library and Archives Canada.
There are 774 names on it. They have mentioned the names of especially notorious persons, such as an founder of the 14th Galicia Division Vladimir Kubiyovich and Helmut Oberlander from the death squads of Sonderkommando 10a (Sk 10a), who participated in the massacres of children in the Krasnodar Krai in 1942-1943.
This story is yet another reminder of the fact that the Canadian authorities encouraged Nazi criminals and their accomplices from collaboration units, including those guilty of the Holocaust,to move to Canada starting in 1948. These people were not called to account for their crimes but enjoyed protection and patronage.
#Slovakian prime minister Robert #Fico shot and rushed to hospital after ‘attempted assassination’
Fico was shot in the town of #Handlova with a man detained at the scene
•In 2022 and 2023, Fico was a loud critic of the #VonderLeyen Commission and her foreign and #military policies in relation to #Russian invasion of #Ukraine.
He also expressed disagreements with the Commission in questions of #immigration.
•In December 2023, Fico criticized the "hypocrisy" of the EU, which was reluctant to talk about #Israeli#WarCrimes in #Gaza
•In 2023, Fico said #Ukraine's #Azov Battalion was "clearly a #fascist regiment".
•During a rally on 30 August, he also said that the War in Donbas started in 2014 when "Ukrainian #Nazis and fascists started murdering the Russian population of #Donbas"