Go to advanced search

by dsyleixa123
Tue Aug 13, 2019 1:23 pm
Forum: Beginners
Topic: Clone 16 GB SD Card to 8 GB
Replies: 10
Views: 397

Re: Clone 16 GB SD Card to 8 GB

B.Goode wrote:
Tue Aug 13, 2019 12:16 pm
the user interface should be improved, by a user dialog menu

Since it is hosted on GitHub, maybe the developer/maintainer would be pleased to accept the improvements you make...
I am a hobby USER, not a developer.
by dsyleixa123
Tue Aug 13, 2019 11:32 am
Forum: Beginners
Topic: Clone 16 GB SD Card to 8 GB
Replies: 10
Views: 397

Re: Clone 16 GB SD Card to 8 GB

Desktop versions of Raspbian include the SD Card Copier utility, which can clone a card to a smaller one (assuming the used space is smaller than the destination, of course). This creates another bootable card, ready to use. For backup purposes, RonR's option would be preferable. it would be wishfu...
by dsyleixa123
Tue Aug 13, 2019 10:41 am
Forum: Beginners
Topic: Clone 16 GB SD Card to 8 GB
Replies: 10
Views: 397

Re: Clone 16 GB SD Card to 8 GB

Desktop versions of Raspbian include the SD Card Copier utility, which can clone a card to a smaller one (assuming the used space is smaller than the destination, of course). This creates another bootable card, ready to use. For backup purposes, RonR's option would be preferable. it would be wishfu...
by dsyleixa123
Sun Aug 04, 2019 3:55 pm
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

Just out of interest, why do you want to do this? Do you have any expectations of improved performance or similar? On the whole, the linux scheduler is very good at what it does, so its would be difficult to improve upon it. There are also settings you can change for particular circumstances that a...
by dsyleixa123
Sun Aug 04, 2019 2:25 pm
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

just to be sure:
Even for that cpu_set_t cpus approach I still have to set in config.txt
isolcpus=2,3
or don't I?
by dsyleixa123
Sun Aug 04, 2019 7:33 am
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

that looks really cool, thank you very much!
by dsyleixa123
Sat Aug 03, 2019 8:14 pm
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

I actually do not want to start my program manually using taskset,
I want to compile them in a way so that all my programs always start automatically using cores 2+3, after having set
isolcpus=2,3
for all of my programs (always running on both cores 2+3 simultaneously, the kernel always on 0+1)
by dsyleixa123
Sat Aug 03, 2019 2:47 pm
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

ok, if not other way possible, then the isolcpus=2,3 way.
so what exactly to set then additionally, specifically, statically?
by dsyleixa123
Sat Aug 03, 2019 1:53 pm
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

thank you, so probaly better in /boot/cmdline.txt : isolcpus= 2,3 but it's far beyond me what they suggest to do about taskset, that's completely weird and odd :shock: :o (I want to use a static setting, for all of my C programs I ever will compile) anyway, I'm quite sure that I remember to once hav...
by dsyleixa123
Sat Aug 03, 2019 1:11 pm
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

finally I do not want to set the affinity to 1 or 2 cores but exclude the kernel from 1 or 2 cores. There is no option when compiling something that will tell the kernel to reserve cores for sole usage of that program. The only way to do what you want is to use the isolcpus option in /boot/cmdline....
by dsyleixa123
Sat Aug 03, 2019 11:15 am
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

Heater wrote:
Thu Aug 01, 2019 12:22 pm
Even if it is possible it sounds like a really bad idea.
what causes you to this rediculous comment?
finally I do not want to set the affinity to 1 or 2 cores but exclude the kernel from 1 or 2 cores.
by dsyleixa123
Thu Aug 01, 2019 8:10 am
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

Re: compile Linux C programs to use cpu cores exclusively

thank you, but as stated, (IIRC) there once was already posted a solution to the topic question (using compiler flags, CMIIW)
by dsyleixa123
Thu Aug 01, 2019 7:42 am
Forum: C/C++
Topic: compile Linux C programs to use cpu cores exclusively
Replies: 26
Views: 1119

compile Linux C programs to use cpu cores exclusively

IIRC, I once read that Linux C(++) programs can be compiled to use cpu cores exclusively without enabling kernel access (1 reserved core or perhaps even 2 of 4) - but I can't find the related post any more -
who can help please? 8)
by dsyleixa123
Wed Jul 17, 2019 5:03 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

update:
yes, now it had worked, it boots fine from the copy SD! Thanks again very much!

Just so sad that it don't work locally on the Pi itself :(
by dsyleixa123
Wed Jul 17, 2019 2:18 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

PS, edit:

one probably has to 1st create an empty file like "Jessie.img", e.g. on D:\ or E:\
and then select it in Win32DiskImager.exe,
and then press "READ"
then overwrite...? - YES
strange... :?
by dsyleixa123
Wed Jul 17, 2019 1:29 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

the Win32DiskImager + BalenaEtcher method, I've done that more than 2 dozen times just plug the source disk (disregard if windoze doesnt read the linux partion, it doesnt, wont matter!) let Win32DiskImager "read" the source so it can save it to a file in a windows folder that you direct it to (just...
by dsyleixa123
Wed Jul 17, 2019 1:22 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

epoch1970 wrote:
Wed Jul 17, 2019 8:33 am
dsyleixa123 wrote:
Wed Jul 17, 2019 5:40 am
my Windows PC cant' see or copy Linux partitions.
LTolledo said above he/she uses "Win32DiskImager + BalenaEtcher". Have you tried these on the Win7 PC?
yes, now I downloaded BalenaEtcher. Win32DiskImager was already here.
I'll try it out by my Windows PC and report then, thank you!
by dsyleixa123
Wed Jul 17, 2019 5:40 am
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

for me, if I cant do the cloning on this RPi3B+, I'll try it on a RPi3B (both running Raspbian Stretch with full Desktop) if that still fails (very very rarely that it does), I do it on the win10pc, using the Win32DiskImager + BalenaEtcher combo...and get a backup on the win10pc HDD as a bonus! On ...
by dsyleixa123
Tue Jul 16, 2019 8:42 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

is this faulty SD-detection issue a Raspian Stretch OS malfunction?
who can fix that?
by dsyleixa123
Tue Jul 16, 2019 11:49 am
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

Well then I suppose the GUI tool you’re using has an option to save an SD as an image on the file system. Plug your SD, save as file, unplug, plug the other one, restore from file to the SD. Do not confuse which is which before proceeding... AFAICS, when starting the Stretch GUI menu SD copy, there...
by dsyleixa123
Tue Jul 16, 2019 7:39 am
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

thanks for your efforts, but I honestly do not understand a single word of all those commands and - moreover - anything of the tons of output listings, it's really killing me. Finally it's obvious and evident if either SD was individually plugged: either SD is formatted and partitioned correctly - b...
by dsyleixa123
Sun Jul 14, 2019 10:15 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

yes, I have
2 different µSD cards
in 2 different µSD-to-SD adaptors
in 2 different USB card readers
in 2 different RPi USB ports. 8-)
And additionally of course 3rd, the Stretch boot µSD in the RPi µSD slot.
by dsyleixa123
Sun Jul 14, 2019 9:52 am
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

so what shall I do now to make both external SD cards visible simultaneuosly? (JTM: I freshly formatted the empty SD by SD Formatter Tool on my Windows PC => FAT32, 29.8GB available, 1 partition, I labelled it "VOID") for either SD and either USB-SD-adapter (same brands) and either RPi USB slot : On...
by dsyleixa123
Sat Jul 13, 2019 5:50 pm
Forum: Beginners
Topic: how to copy 1 external SD to another external SD?
Replies: 28
Views: 1324

Re: how to copy 1 external SD to another external SD?

please read closely:
the one which I arbitrarily plug fist does appear the other one then doesn't.
so if I 1st plug the empty SD, then the empty one appears and the Jessie card don't -
and if I 1st plug theJessie SD then the empty one doesn't afterwards any more.

Go to advanced search