Thursday, February 11, 2021

Digest for comp.programming.threads@googlegroups.com - 4 updates in 4 topics

"Christian Hanné" <the.hanne@gmail.com>: Feb 06 05:32AM +0100

> I have just invented a new powerful scalable fast mutex, and it has the following characteristics:
 
> 1- Starvation-free
 
Impossible.
 
> 7- It solves the problem of lock convoying
 
Impossible.
Amine Moulay Ramdane <aminer68@gmail.com>: Feb 10 12:21PM -0800

Hello..
 
 
More about data centers and about NUMA multicore servers and more..
 
About Snooping vs. Directory-based coherency..
 
Performance Scalability of a Multi-core Web Server
 
Read more here:
 
https://www.cse.wustl.edu/ANCS/slides/Bryan%20Veal%20ANCS%20Presentation.pdf
 
 
As you notice above that the Address bus saturation causes
poor scaling! And the Address Bus carries requests and
responses for data, called snoops, and more caches mean more sources
and more destinations for snoops that is causing the poor scaling.
 
So to solve the problem of poor scalability above, you have to use
Directory-based coherence that is a mechanism to handle Cache coherence problem in Distributed shared memory (DSM) a.k.a. Non-Uniform Memory Access (NUMA).
 
And you have to know that Directory-Based Cache Coherence is scalable.
 
Read more here about it:
 
http://www.cs.cmu.edu/afs/cs/academic/class/15418-s19/www/lectures/13_directory.pdf
 
So you have to choose Directory-Based Cache Coherence that is scalable by using NUMA systems.
 
 
And you have to know that data centers are now typically using NUMA multicore servers that provide "scalable" system performance and
"cost-effective" property and that provide Directory-Based Cache Coherence that is scalable.
 
Read more here:
 
https://books.google.ca/books?id=3iy6BQAAQBAJ&pg=PA32&lpg=PA32&dq=NUMA+systems+are+cost+effective&source=bl&ots=zXHJZ7oqqW&sig=ACfU3U24MbzxiuPXJB6W6p0JCtkl9hxCHQ&hl=en&sa=X&ved=2ahUKEwjX9o_gubTqAhVBc98KHU0WDJ8Q6AEwCnoECAgQAQ#v=onepage&q=NUMA%20systems%20are%20cost%20effective&f=false
 
 
AI system optimally allocates workloads across thousands of servers to
cut costs, save energy
 
Read more here:
 
https://techxplore.com/news/2019-08-ai-optimally-allocates-workloads-thousands.html
 
It is related to the following article, i invite you to read it:
 
Why Energy Is A Big And Rapidly Growing Problem For Data Centers
 
It's either a breakthrough in our compute engines, or we need to get
deadly serious about doubling the number of power plants on the planet.
 
Read more here:
 
https://www.forbes.com/sites/forbestechcouncil/2017/12/15/why-energy-is-a-big-and-rapidly-growing-problem-for-data-centers/#1d126295a307
 
And it is related to my following thoughts, i invite you to read them:
 
About how to beat Moore's Law and about Energy efficiency..
 
I am a white arab and i am also an inventor of many scalable algorithms
and algorithms, and now i will talk about: "How to beat Moore's Law ?"
and more about: "Energy efficiency"..
 
How to beat Moore's Law ?
 
I think with the following discovery, Graphene can finally be used in
CPUs, and it is a scale out method, read about the following discovery
and you will notice it:
 
New Graphene Discovery Could Finally Punch the Gas Pedal, Drive Faster CPUs
 
Read more here:
 
https://www.extremetech.com/computing/267695-new-graphene-discovery-could-finally-punch-the-gas-pedal-drive-faster-cpus
 
The scale out method above with Graphene is very interesting, and here
is the other scale up method with multicores and parallelism:
 
Beating Moore's Law: Scaling Performance for Another Half-Century
 
Read more here:
 
https://www.infoworld.com/article/3287025/beating-moore-s-law-scaling-performance-for-another-half-century.html
 
Also read the following:
 
"Also Modern programing environments contribute to the problem of
software bloat by placing ease of development and portable code above
speed or memory usage. While this is a sound business model in a
commercial environment, it does not make sense where IT resources are
constrained. Languages such as Java, C-Sharp, and Python have opted for
code portability and software development speed above execution speed
and memory usage, while modern data storage and transfer standards such
as XML and JSON place flexibility and readability above efficiency.
 
The Army can gain significant performance improvements with existing
hardware by treating software and operating system efficiency as a key
performance parameter with measurable criteria for CPU load and memory
footprint. The Army should lead by making software efficiency a priority
for the applications it develops. Capability Maturity Model Integration
(CMMI) version 1.3 for development processes should be adopted across
Army organizations, with automated code analysis and profiling being
integrated into development. Additionally, the Army should shape the
operating system market by leveraging its buying power to demand a
secure, robust, and efficient operating system for devices. These
metrics should be implemented as part of the Common Operating
Environment (COE)."
 
And about improved Algorithms:
 
Hardware improvements mean little if software cannot effectively use the
resources available to it. The Army should shape future software
algorithms by funding basic research on improved software algorithms to
meet its specific needs. The Army should also search for new algorithms
and techniques which can be applied to meet specific needs and develop a
learning culture within its software community to disseminate this
information."
 
Read the following:
 
https://smallwarsjournal.com/jrnl/art/overcoming-death-moores-law-role-software-advances-and-non-semiconductor-technologies
 
More about Energy efficiency..
 
You have to be aware that parallelization of the software
can lower power consumption, and here is the formula
that permits you to calculate the power consumption of
"parallel" software programs:
 
Power consumption of the total cores = (The number of cores) * (
1/(Parallel speedup))^3) * (Power consumption of the single core).
 
Also read the following about energy efficiency:
 
Energy efficiency isn't just a hardware problem. Your programming
language choices can have serious effects on the efficiency of your
energy consumption. We dive deep into what makes a programming language
energy efficient.
 
As the researchers discovered, the CPU-based energy consumption always
represents the majority of the energy consumed.
 
What Pereira et. al. found wasn't entirely surprising: speed does not
always equate energy efficiency. Compiled languages like C, C++, Rust,
and Ada ranked as some of the most energy efficient languages out there,
and Java and FreePascal are also good at Energy efficiency.
 
Read more here:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
RAM is still expensive and slow, relative to CPUs
 
And "memory" usage efficiency is important for mobile devices.
 
So Delphi and FreePascal compilers are also still "useful" for mobile
devices, because Delphi and FreePascal are good if you are considering
time and memory or energy and memory, and the following pascal benchmark
was done with FreePascal, and the benchmark shows that C, Go and Pascal
do rather better if you're considering languages based on time and
memory or energy and memory.
 
Read again here to notice it:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
 
Thank you,
Amine Moulay Ramdane.
Amine Moulay Ramdane <aminer68@gmail.com>: Feb 10 12:14PM -0800

Hello..
 
 
An Interview with Dr. Jay Hoeflinger about Automatic Parallelization
 
Read more here:
 
http://www.thinkingparallel.com/2007/08/14/an-interview-with-dr-jay-hoeflinger-about-automatic-parallelization/
 
 
Coffee lovers, rejoice! Drinking more coffee associated with decreased heart failure risk
 
Read more here:
 
https://www.sciencedaily.com/releases/2021/02/210209083513.htm
 
 
AI system optimally allocates workloads across thousands of servers to
cut costs, save energy
 
Read more here:
 
https://techxplore.com/news/2019-08-ai-optimally-allocates-workloads-thousands.html
 
It is related to the following article, i invite you to read it:
 
Why Energy Is A Big And Rapidly Growing Problem For Data Centers
 
It's either a breakthrough in our compute engines, or we need to get
deadly serious about doubling the number of power plants on the planet.
 
Read more here:
 
https://www.forbes.com/sites/forbestechcouncil/2017/12/15/why-energy-is-a-big-and-rapidly-growing-problem-for-data-centers/#1d126295a307
 
And it is related to my following thoughts, i invite you to read them:
 
About how to beat Moore's Law and about Energy efficiency..
 
I am a white arab and i am also an inventor of many scalable algorithms
and algorithms, and now i will talk about: "How to beat Moore's Law ?"
and more about: "Energy efficiency"..
 
How to beat Moore's Law ?
 
I think with the following discovery, Graphene can finally be used in
CPUs, and it is a scale out method, read about the following discovery
and you will notice it:
 
New Graphene Discovery Could Finally Punch the Gas Pedal, Drive Faster CPUs
 
Read more here:
 
https://www.extremetech.com/computing/267695-new-graphene-discovery-could-finally-punch-the-gas-pedal-drive-faster-cpus
 
The scale out method above with Graphene is very interesting, and here
is the other scale up method with multicores and parallelism:
 
Beating Moore's Law: Scaling Performance for Another Half-Century
 
Read more here:
 
https://www.infoworld.com/article/3287025/beating-moore-s-law-scaling-performance-for-another-half-century.html
 
Also read the following:
 
"Also Modern programing environments contribute to the problem of
software bloat by placing ease of development and portable code above
speed or memory usage. While this is a sound business model in a
commercial environment, it does not make sense where IT resources are
constrained. Languages such as Java, C-Sharp, and Python have opted for
code portability and software development speed above execution speed
and memory usage, while modern data storage and transfer standards such
as XML and JSON place flexibility and readability above efficiency.
 
The Army can gain significant performance improvements with existing
hardware by treating software and operating system efficiency as a key
performance parameter with measurable criteria for CPU load and memory
footprint. The Army should lead by making software efficiency a priority
for the applications it develops. Capability Maturity Model Integration
(CMMI) version 1.3 for development processes should be adopted across
Army organizations, with automated code analysis and profiling being
integrated into development. Additionally, the Army should shape the
operating system market by leveraging its buying power to demand a
secure, robust, and efficient operating system for devices. These
metrics should be implemented as part of the Common Operating
Environment (COE)."
 
And about improved Algorithms:
 
Hardware improvements mean little if software cannot effectively use the
resources available to it. The Army should shape future software
algorithms by funding basic research on improved software algorithms to
meet its specific needs. The Army should also search for new algorithms
and techniques which can be applied to meet specific needs and develop a
learning culture within its software community to disseminate this
information."
 
Read the following:
 
https://smallwarsjournal.com/jrnl/art/overcoming-death-moores-law-role-software-advances-and-non-semiconductor-technologies
 
More about Energy efficiency..
 
You have to be aware that parallelization of the software
can lower power consumption, and here is the formula
that permits you to calculate the power consumption of
"parallel" software programs:
 
Power consumption of the total cores = (The number of cores) * (
1/(Parallel speedup))^3) * (Power consumption of the single core).
 
Also read the following about energy efficiency:
 
Energy efficiency isn't just a hardware problem. Your programming
language choices can have serious effects on the efficiency of your
energy consumption. We dive deep into what makes a programming language
energy efficient.
 
As the researchers discovered, the CPU-based energy consumption always
represents the majority of the energy consumed.
 
What Pereira et. al. found wasn't entirely surprising: speed does not
always equate energy efficiency. Compiled languages like C, C++, Rust,
and Ada ranked as some of the most energy efficient languages out there,
and Java and FreePascal are also good at Energy efficiency.
 
Read more here:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
RAM is still expensive and slow, relative to CPUs
 
And "memory" usage efficiency is important for mobile devices.
 
So Delphi and FreePascal compilers are also still "useful" for mobile
devices, because Delphi and FreePascal are good if you are considering
time and memory or energy and memory, and the following pascal benchmark
was done with FreePascal, and the benchmark shows that C, Go and Pascal
do rather better if you're considering languages based on time and
memory or energy and memory.
 
Read again here to notice it:
 
https://jaxenter.com/energy-efficient-programming-languages-137264.html
 
 
Using artificial intelligence to find new uses for existing medications
 
Read more here:
 
https://techxplore.com/news/2021-01-artificial-intelligence-medications.html
 
New research shows machine learning could lop a year off technology
design cycle
 
Read more here:
 
https://techxplore.com/news/2021-01-machine-lop-year-technology.html
 
Accelerating AI computing to the speed of light
 
Read more here:
 
https://techxplore.com/news/2021-01-ai.html
 
At a major AI research conference, one researcher laid out how existing
AI techniques might be used to analyze causal relationships in data.
 
Read more here:
 
https://www.technologyreview.com/2019/05/08/135454/deep-learning-could-reveal-why-the-world-works-the-way-it-does/
 
Also read the following news:
 
Researchers engineer a tiny antibody capable of neutralizing the coronavirus
 
Read more here:
 
https://phys.org/news/2021-02-tiny-antibody-capable-neutralizing-coronavirus.html?fbclid=IwAR0B7TKas-la17aRdsYiZVLw7nYwrLlKF3ldkiduV3W0oTGwKDGPAnpHcrE
 
 
Scientists uncover potential antiviral treatment for COVID-19
 
Read more here:
 
https://medicalxpress.com/news/2021-02-scientists-uncover-potential-antiviral-treatment.html?fbclid=IwAR18LKpb4CIG5lhhe4XD0Rvr6is_-KaraqfitniXEoFMJiyOgdsMan-bRgQ
 
 
Computer model makes strides in search for COVID-19 treatments
 
Read more here:
 
https://medicalxpress.com/news/2021-02-covid-treatments.html?fbclid=IwAR1AYnulQoHxXifEkP_qQWMOrZDdFAw4HoWbWwPPP__LEkvyGKpfb9jWNGk
 
Look at this interesting video:
 
Are Hydrogen-Powered Cars The Future?
 
https://www.youtube.com/watch?v=NfkfLRiYgac&fbclid=IwAR2Yh84hKWElluUoqsApfyQQkbE578PzQHqhCa9vsUDRbc2h0eqnlc-JTF4
 
More about Protein Folding and more of my news..
 
Look at the following interesting video:
 
Has Protein Folding Been Solved?
 
https://www.youtube.com/watch?v=yhJWAdZl-Ck
 
And read the following news about Protein Folding:
 
DeepMind may just have cracked one of the grandest challenges in
biology. One that rivals the discovery of DNA's double helix. It could
change biomedicine, drug discovery, and vaccine development forever.
 
Read more here:
 
https://singularityhub.com/2020/12/15/deepminds-alphafold-is-close-to-solving-one-of-biologys-greatest-challenges/
 
 
Here is a new important discovery and more news..
 
Solving complex physics problems at lightning speed
 
"A calculation so complex that it takes twenty years to complete on a
powerful desktop computer can now be done in one hour on a regular
laptop. Physicists have now designed a new method to calculate the
properties of atomic nuclei incredibly quickly."
 
Read more here:
 
https://www.sciencedaily.com/releases/2021/02/210201090810.htm
 
 
Why is MIT's new "liquid" AI a breakthrough innovation?
 
Read more here:
 
https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fintelligence-artificielle.developpez.com%2Factu%2F312174%2FPourquoi-la-nouvelle-IA-liquide-de-MIT-est-elle-une-innovation-revolutionnaire-Elle-apprend-continuellement-de-son-experience-du-monde%2F
 
And here is Ramin Hasani, Postdoctoral Associate (he is an Iranian):
 
https://www.csail.mit.edu/person/ramin-hasani
 
And here he is:
 
http://www.raminhasani.com/
 
 
He is the study's lead author of the following new study:
 
New 'Liquid' AI Learns Continuously From Its Experience of the World
 
Read more here:
 
https://singularityhub.com/2021/01/31/new-liquid-ai-learns-as-it-experiences-the-world-in-real-time/
 
 
And read the following interesting news:
 
 
Global race for artificial intelligence: the EU continues to fall behind
the leading US and China
 
Read more here:
 
https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fintelligence-artificielle.developpez.com%2Factu%2F312189%2FCourse-mondiale-a-l-intelligence-artificielle-l-UE-continue-de-se-laisser-distancer-par-les-Etats-Unis-premiers-en-la-matiere-et-par-la-Chine-qui-se-rapproche-du-sommet-a-grande-vitesse%2F
 
 
And read my following news:
 
More precision about Metformin and COVID 19 and more..
 
I have just read the following study about Metformin and COVID 19,
i invite you to read it:
 
https://www.thelancet.com/action/showPdf?pii=S2666-7568%2820%2930033-7
 
I think that the above study was not yet precise, so it can not be
generalized.
 
Here is the study that can be generalized for age, sex, race, obesity,
and hypertension or chronic kidney disease and heart failure:
 
"Use of the diabetes drug metformin -- before a diagnosis of COVID-19 --
is associated with a threefold decrease in mortality in COVID-19
patients with Type 2 diabetes, according to a new study. Diabetes is a
significant comorbidity for COVID-19. This beneficial effect remained,
even after correcting for age, sex, race, obesity, and hypertension or
chronic kidney disease and heart failure.
 
"This beneficial effect remained, even after correcting for age, sex,
race, obesity, and hypertension or chronic kidney disease and heart
failure," said Anath Shalev, M.D., director of UAB's Comprehensive
Diabetes Center and leader of the study.
 
"Since similar results have now been obtained in different populations
from around the world -- including China, France and a UnitedHealthcare
analysis -- this suggests that the observed reduction in mortality risk
associated with metformin use in subjects with Type 2 diabetes and
COVID-19 might be generalizable," Shalev said.
 
After controlling for other covariates, age, sex and metformin use
emerged as independent factors affecting COVID-19-related mortality.
Interestingly, even after controlling for all these other covariates,
death was significantly less likely -- with an odds ratio of 0.33 -- for
Type 2 diabetes subjects taking metformin, compared with those who did
not take metformin."
 
Read more here:
 
https://www.sciencedaily.com/releases/2021/01/210114164004.htm
 
About Metformin and COVID 19 and more..
 
People who suffer from diabetes are at greater risk of death from
diseases like COVID 19. Researchers found that those taking metformin (a
cheap and popular anti-diabetes drug) are protected from COVID 19.
 
Future studies will have to explore how metformin might confer these
protective effects, provide a careful risk benefit assessment and
determine whether the indications for metformin treatment should be
broadened in the face of the ongoing COVID-19 pandemic.
 
Read more here:
 
https://www.medrxiv.org/content/10.1101/2020.07.29.20164020v1
 
About Metformin and Statin and cancers..
 
Metformin found not to prevent prostate cancer:
 
Read more here:
 
https://www.renalandurologynews.com/home/news/urology/prostate-cancer/metformin-found-not-to-prevent-prostate-cancer/
 
 
But Metformin, Statin Combination Reduces Mortality in High-Risk
Prostate Cancer
 
Read more here to notice:
 
"Patients who received the combination also experienced a reduction in
risk for all-cause mortality (32%) and prostate cancer mortality (54%).
However, metformin alone did not have any significant effects on
all-cause and prostate cancer mortality.
 
https://www.curetoday.com/view/metformin-statin-combination-reduces-mortality-in-highrisk-prostate-cancer
 
And notice that the longer half-lives of rosuvastatin, atorvastatin,
pitavastatin, and pravastatin allow these agents to maintain a
therapeutic drug concentration over a 24-hour period and allow alternate
administration times.
 
 
And taking Metformin prevents other cancers, read here to notice it:
 
 
"Indeed, observational studies with time-related biases have reported
extraordinary effects of ranging from 20 to 94% reductions in the risk
of cancer (10), suggesting that metformin may be more effective at
preventing or treating cancer than preventing the cardiovascular
complications of diabetes."
 
https://care.diabetesjournals.org/content/37/7/1786#:~:text=Indeed%2C%20observational%20studies%20with%20time,the%20cardiovascular%20complications%20of%20diabetes.
 
 
And more precision about I3C (Indole-3-carbinol) and cancer..
 
I have just read the following article, i invite you to read it:
 
Broccoli and Brussels sprouts: Cancer foes
 
https://news.harvard.edu/gazette/story/2019/05/beth-israel-researchers-uncover-anti-cancer-drug-mechanism-in-broccoli/
 
But i think that the above article is not speaking about the following
research that says the following about I3C (Indole-3-carbinol):
 
"In vivo studies showed that I3C inhibits the development of different
cancers in several animals when given before or in parallel to a
carcinogen. However, when I3C was given to the animals after the
carcinogen, I3C promoted carcinogenesis. This concern regarding the
long-term effects of I3C treatment on cancer risk in humans resulted in
some caution in the use of I3C as a dietary supplement in cancer
management protocols"
 
Read more here to notice it:
 
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5989150/
 
 
So i don't advice to take I3C(Indole-3-carbinol) as a dietary
supplement, because I3C(Indole-3-carbinol) can reduce the risk of cancer
, but still you can have cancer even if you take I3C(Indole-3-carbinol)
, so it is dangerous to take I3C(Indole-3-carbinol) because taking
I3C(Indole-3-carbinol) after the carcinogen promotes carcinogenesis(read
my writing above to notice it).
 
 
Moderna's Covid vaccine appears to work against new, more infectious
variants of the pandemic virus found in the UK and South Africa, say
scientists from the US pharmaceutical company.
 
Read more here:
 
https://www.bbc.com/news/health-55797312
 
Covid: How worrying are the UK, South Africa, and Brazil coronavirus
variants?
 
Read more here:
 
https://www.bbc.com/news/health-55659820
 
London School of Hygiene & Tropical Medicine calculated that South
Africa's 501Y.V2 variant could be 50% more transmissible but no better
at evading immunity, or just as transmissible as previous variants but
able to evade immunity in one in five people
Amine Moulay Ramdane <aminer68@gmail.com>: Feb 10 07:25AM -0800

Hello,
 
 
This was my last post about philosophy,
from now on i will post only about parallel programming.
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: